SimulatorSettings class

Constructors

SimulatorSettings({Color? backgroundColor, Color? accentColor, Color? dividerColor, bool enable = true, Brightness brightness = Brightness.dark, Color iOSMultitaskBarColor = Colors.grey, bool showNavigationBar = false, Color statusBarBackgroundColor = Colors.black26, Color navigationBarBackgroundColor = Colors.black26, Orientation orientation = Orientation.portrait, int initialDeviceIndex = 0, TargetPlatform initialPlatform = TargetPlatform.android, bool showBottomBar = true, bool showDeviceSlider = true, bool showColorSelector = false, bool useSafeArea = true, required List<DeviceDescriptor> iosDevices, required List<DeviceDescriptor> androidDevices, MenuPosition menuPosition = MenuPosition.left})

Properties

accentColor Color
final
androidDevices List<DeviceDescriptor>
final
backgroundColor Color
final
brightness Brightness
The brightness decides how to draw the status bar (black or white).
final
dividerColor Color
final
enable bool
Enables or disables the DeviceSimulator
final
hashCode int
The hash code for this object.
no setteroverride
initialDeviceIndex int
final
initialPlatform TargetPlatform
final
iosDevices List<DeviceDescriptor>
final
iOSMultitaskBarColor Color
The color of the iOS multitasking bar that is available on newer iOS devices without a home button.
final
final
final
orientation Orientation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBottomBar bool
final
showColorSelector bool
final
showDeviceSlider bool
final
showNavigationBar bool
final
statusBarBackgroundColor Color
final
useSafeArea bool
final

Methods

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

Operators

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