PlatformSettingsData class Null safety

Constructors

PlatformSettingsData({bool iosUsesMaterialWidgets = false, bool legacyIosUsesMaterialWidgets = false, bool legacyMaterialDialogActionButtons = false, PlatformStyleData platformStyle = const PlatformStyleData()})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
iosUsesMaterialWidgets bool
Adds a Material widget to CupertinoScaffold and CupertinoTabScaffold to allow for Material widgets to be used. This is required when using a PlatformApp since some Material widgets will expect a Material parent, otherwise an exception is thrown. Note: This may affect fonts and colors and dark mode may not work in all cases. [...]
final
legacyIosUsesMaterialWidgets bool
Adds a Material widget to CupertinoScaffold and CupertinoTabScaffold to allow for Material widgets to be used. This is required when using a PlatformApp since some Material widgets will expect a Material parent, otherwise an exception is thrown. Note: This may affect fonts and colors and dark mode may not work in all cases. [...]
final
legacyMaterialDialogActionButtons bool
When true it uses FlatButton for PlatformDialogActon which is used before v1.9.0 Otherwise the Materiasl dialog actions use TextButton
final
platformStyle PlatformStyleData
The style each platform will use. Either PlatformStyle.Material or PlatformStyle.Cupertino.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited