PlatformSettingsData class

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
iosUsesMaterialWidgets bool
Adds a Material widget to CupertinoScaffold, CupertinoTabScaffold and CupertinoAlertDialog 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. Note: This may cause widgets to show a ripple effect where as before 1.6.0 it did not
final
iosUseZeroPaddingForAppbarPlatformIcon bool
Sets any padding of the PlatformIconButton to EdgeInserts.zero when placed inside a PlatformAppBar. Only affects the padding for the cupertino style and only if no padding is already defined. Will affect all PlatformIconButtons added to the PlatformAppBar
final
legacyIosUsesMaterialWidgets bool
Adds a Material widget to CupertinoScaffold, CupertinoTabScaffold and CupertinoAlertDialog 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
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