FlexiHelper class
Helper class to provide semantic access to FlexiConfig data.
Constructors
- FlexiHelper(BuildContext _context)
Properties
- breakpoint → FlexiBreakpoint
-
The current semantic breakpoint (e.g., phone, tablet, desktop).
no setter
- devicePixelRatio → double
-
The current device pixel ratio.
no setter
- deviceType → TargetDeviceType
-
The current target device type (phone vs desktop design target).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDesktop → bool
-
Whether the current device is categorized as a desktop.
no setter
- isLandscape → bool
-
Whether the screen is in landscape orientation.
no setter
- isMobile → bool
-
Whether the current device is categorized as mobile.
no setter
- isPortrait → bool
-
Whether the screen is in portrait orientation.
no setter
- isTablet → bool
-
Whether the current device is categorized as a tablet.
no setter
- orientation → Orientation
-
The current device orientation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenHeight → double
-
The current screen height in logical pixels.
no setter
- screenSize → Size
-
The current screen size in logical pixels.
no setter
- screenWidth → double
-
The current screen width in logical pixels.
no setter
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