monarch_definitions library
Classes
- DeviceDefinition
- DeviceDefinitionListMapper
- DeviceDefinitionMapper
- DockDefinition
- LogicalResolution
- Flutter uses logical pixels. Also called device-independent or resolution-independent pixels.
- LogicalResolutionMapper
- MetaLocalizationDefinition
- MetaLocalizationDefinitionMapper
- MetaStoriesDefinition
- MetaStoriesDefinitionMapper
- MetaThemeDefinition
- MetaThemeDefinitionMapper
- ProjectDataDefinition
- ProjectDataDefinitionMapper
-
StandardMapper<
T> -
StandardMapperList<
T> - StoryId
- StoryIdMapper
- StoryScaleDefinition
- StoryScaleDefinitionMapper
- UriMapper
- VisualDebugExtensionMethods
- VisualDebugFlag
- VisualDebugFlagMapper
- VisualDebugFlags
- VisualDebugTimeDilationValues
Enums
Constants
- defaultDeviceDefinition → const DeviceDefinition
- @GOTCHA: The default device is also defined in the platform code. If you change it here, change it in the platform code as well.
- defaultLocale → const String
- defaultScaleDefinition → const StoryScaleDefinition
- defaultThemeDefinition → const MetaThemeDefinition
-
defaultVisualDebugFlags
→ const Map<
String, bool> - iPhone13DeviceDefinition → const DeviceDefinition
- material3DarkThemeDefinition → const MetaThemeDefinition
- material3LightThemeDefinition → const MetaThemeDefinition
- materialDarkThemeDefinition → const MetaThemeDefinition
- materialLightThemeDefinition → const MetaThemeDefinition
-
standardMetaThemeDefinitions
→ const List<
MetaThemeDefinition>
Properties
- defaultDockDefinition → DockDefinition
-
final
-
dockDefinitions
→ List<
DockDefinition> -
final
Functions
-
targetPlatformFromString(
String platform) → MonarchTargetPlatform -
targetPlatformToString(
MonarchTargetPlatform platform) → String