ScreenChangePoints class
Manage the responsive change points.
Constructors
- ScreenChangePoints({double desktopChangePoint = 1200.0, double tabletChangePoint = 600.0, double watchChangePoint = 300.0})
-
Define a ScreenChangePoints class.
const
Properties
- desktopChangePoint → double
-
When the width is greater than this value
the display will be set as ResponsiveType.desktop
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabletChangePoint → double
-
When the width is greater than this value
the display will be set as ResponsiveType.tablet
or when width greater als watchChangePoint and smaller als this value
the display will be ResponsiveType.phone
final
- watchChangePoint → double
-
When the width is smaller than this value
the display will be set as ResponsiveType.watch
or when width greater als this value and smaller als tabletChangePoint
the display will be ResponsiveType.phone
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