DevicePreviewSettingsData class abstract
Settings of device preview itself (tool bar position, background style).
- Annotations
-
- @freezed
Constructors
- DevicePreviewSettingsData({@Default(DevicePreviewToolBarPositionData.bottom) DevicePreviewToolBarPositionData toolbarPosition, @Default(DevicePreviewToolBarThemeData.dark) DevicePreviewToolBarThemeData toolbarTheme, @Default(DevicePreviewBackgroundThemeData.light) DevicePreviewBackgroundThemeData backgroundTheme})
-
Create a new set of settings.
constfactory
-
DevicePreviewSettingsData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backgroundTheme → DevicePreviewBackgroundThemeData
-
The theme of the background.
no setterinherited
-
copyWith
→ $DevicePreviewSettingsDataCopyWith<
DevicePreviewSettingsData> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolbarPosition → DevicePreviewToolBarPositionData
-
The toolbar position.
no setterinherited
- toolbarTheme → DevicePreviewToolBarThemeData
-
The theme of the toolbar.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited