PlatformSettingsData class

Constructors

PlatformSettingsData({bool iosUsesMaterialWidgets = false, bool legacyIosUsesMaterialWidgets = false, @Deprecated('legacyMaterialDialogActionButtons will be removed from future versions and will be always false. Will use new Material TextButton as Dialog action buttons') bool legacyMaterialDialogActionButtons = false, PlatformStyleData platformStyle = const PlatformStyleData()})

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
no setterinherited

Methods

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

Operators

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