models library
Classes
- AppModel
- A scoped model for parameters that affect the entire application. RiverPod is used for global state management across multiple layers, especially for preferences that persist across application restarts.
- CreatorModel
- A scoped model for parameters that affect the card creator. RiverPod is used for global state management across multiple layers, and is useful for showing the creator and sharing code across the entire application.
Properties
-
appProvider
→ ChangeNotifierProvider<
AppModel> -
A global Provider for app-wide configuration and state management.
final
-
creatorProvider
→ ChangeNotifierProvider<
CreatorModel> -
A global Provider for the card creator.
final
-
fieldsByKey
→ Map<
String, Field> -
A list of media types that the app will support at runtime.
final
-
globalFields
→ List<
Field> -
A list of fields that the app will support at runtime.
final
-
globalSchemas
→ List<
CollectionSchema> -
Schemas used in Isar database.
final
-
instantExportProvider
→ ChangeNotifierProvider<
CreatorModel> -
A global Provider for separately handling instant export.
final
-
pipSearchPositionProvider
→ StateProvider<
int> -
A global Provider for listening to search term position changes in PIP mode.
final
-
pipSearchResultProvider
→ FutureProvider<
DictionarySearchResult?> -
A global Provider for listening to search results in PIP mode.
final
-
pipSearchTermProvider
→ StateProvider<
String> -
A global Provider for listening to search term changes in PIP mode.
final
-
quickActionColorProvider
→ FutureProviderFamily<
Map< String, Color?> , DictionaryHeading> -
Provides color for all quick actions.
final
-
visibleOnceProvider
→ StateProviderFamily<
bool, DictionaryHeading> -
A global Provider for maintaining visible once state.
final