DeviceTypeConfig class

Provides configuration details for different device types.

This class determines the device type based on screen dimensions and orientation, and initializes relevant flags to indicate the device type.

Constructors

DeviceTypeConfig({required ScreenInfo screenInfo, required double designMinWidth, required double designMaxWidth, required double designMinHeight, required double designMaxHeight, required TargetDeviceType targetDeviceType})
Constructs a DeviceTypeConfig instance with the given parameters.

Properties

designMaxHeight double
final
designMaxWidth double
final
designMinHeight double
final
designMinWidth double
final
deviceType UserDeviceType
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDesktop bool
getter/setter pair
isPhoneLandscape bool
getter/setter pair
isPhonePortrait bool
getter/setter pair
isTabletLandscape bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenInfo ScreenInfo
final
targetDeviceType TargetDeviceType
final

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