Compare commits

...

3 Commits

3 changed files with 17 additions and 8 deletions
+9
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -3,8 +3,7 @@
<option name="chatModelId"> <option name="chatModelId">
<ModelIdState> <ModelIdState>
<option name="feedbackSupported" value="true" /> <option name="feedbackSupported" value="true" />
<option name="groupName" value="google-aistudio" /> <option name="id" value="gemini-2.5-pro" />
<option name="id" value="default-model-id" />
<option name="providerName" value="google-aistudio" /> <option name="providerName" value="google-aistudio" />
</ModelIdState> </ModelIdState>
</option> </option>
@@ -12,6 +11,7 @@
<option name="onboardedVersion" value="3" /> <option name="onboardedVersion" value="3" />
<option name="queryHistory"> <option name="queryHistory">
<list> <list>
<historyEntry timestamp="1762950782720">哪个方法可以用来缩放地图以适应窗口</historyEntry>
<historyEntry timestamp="1762353182873">Make suggestions to improve this code: <historyEntry timestamp="1762353182873">Make suggestions to improve this code:
```dart ```dart
Container Container
+6 -6
View File
@@ -1,6 +1,6 @@
<application> <application>
<component name="Translation.Cache"> <component name="Translation.Cache">
<option name="lastTrimTime" value="1762443367581" /> <option name="lastTrimTime" value="1762942733368" />
</component> </component>
<component name="Translation.OpenAISettings"> <component name="Translation.OpenAISettings">
<option name="OPEN_AI"> <option name="OPEN_AI">
@@ -22,6 +22,11 @@
<option name="translationDialogLocationY" value="567" /> <option name="translationDialogLocationY" value="567" />
<option name="translationDialogWidth" value="1381" /> <option name="translationDialogWidth" value="1381" />
<histories> <histories>
<item value="It allows for map movement through [move], rotation through [rotate] and to fit the map bounds with [fitBounds]." />
<item value="fit bounds" />
<item value="Abide to minmax zoom" />
<item value="{@macro flutter.painting.textPainter.strutStyle}" />
<item value="If non-null, the style to use for this text. If the style's &quot;inherit&quot; property is true, the style will be merged with the closest enclosing [DefaultTextStyle]. Otherwise, the style will replace the closest enclosing [DefaultTextStyle]." />
<item value="Instantiating non-const instances of this class in your app will mean the app cannot be built in release mode with icon tree-shaking (it need to be explicitly opted out at build time). See [staticIconProvider] for more context." /> <item value="Instantiating non-const instances of this class in your app will mean the app cannot be built in release mode with icon tree-shaking (it need to be explicitly opted out at build time). See [staticIconProvider] for more context." />
<item value="A description of an icon fulfilled by a font glyph. See [Icons] for a number of predefined icons available for material design applications. In release builds, the Flutter tool will tree shake out of bundled fonts the code points (or instances of [IconData]) which are not referenced from Dart app code. See the [staticIconProvider] annotation for more details." /> <item value="A description of an icon fulfilled by a font glyph. See [Icons] for a number of predefined icons available for material design applications. In release builds, the Flutter tool will tree shake out of bundled fonts the code points (or instances of [IconData]) which are not referenced from Dart app code. See the [staticIconProvider] annotation for more details." />
<item value="When looking to easily toggle the default decorations, you can use [ScrollBehavior.copyWith] instead of creating your own [ScrollBehavior] class. The `scrollbar` and `overscrollIndicator` flags can turn these decorations off. {@endtemplate}" /> <item value="When looking to easily toggle the default decorations, you can use [ScrollBehavior.copyWith] instead of creating your own [ScrollBehavior] class. The `scrollbar` and `overscrollIndicator` flags can turn these decorations off. {@endtemplate}" />
@@ -67,11 +72,6 @@
<item value="tight" /> <item value="tight" />
<item value="list remove unrelated type" /> <item value="list remove unrelated type" />
<item value="iterable contains unrelated type" /> <item value="iterable contains unrelated type" />
<item value="The list of providers that this provider potentially depends on. This list must contains the classesfunctions annotated with `@riverpod`, not the generated providers themselves. Specifying this list is strictly equivalent to saying &quot;This provider may be scoped&quot;. If a provider is scoped, it should specify [dependencies]. If it is never scoped, it should not specify [dependencies]." />
<item value="} {@template riverpod.listen} Listen to a provider and call [listener] whenever its value changes. Listeners will automatically be removed when the provider rebuilds (such as when a provider listened with [Ref.watch] changes). Returns an object that allows cancelling the subscription early." />
<item value="- [asReload] (false by default) can be optionally passed to tell Riverpod to clear the state before refreshing it. This is only useful for asynchronous providers, as by default, [AsyncValue] keeps a reference on state during loading states. Using [asReload] will disable this behavior and count as a &quot;hard refresh&quot;." />
<item value="As opposed to [refresh], the rebuild is not immediate and is instead delayed by an undefined amount of time. Typically, the rebuild happens at the next tick of the event loop. But if a provider is not listened to, the rebuild may be delayed until the provider is listened to again." />
<item value="If you do not care about the return value of [refresh], use [invalidate] instead. Doing so has the benefit of: - making the invalidation logic more resilient by avoiding multiple refreshes at once. - possibly avoids recomputing a provider if it isn't needed immediately. This method is useful for features like &quot;pull to refresh&quot; or &quot;retry on error&quot;, to restart a specific provider. {@endtemplate}" />
</histories> </histories>
<option name="languageScores"> <option name="languageScores">
<map> <map>