Breakpoint class
Constructors
- Breakpoint({required int columns, required LayoutClass device, required double gutters, required double margin, required WindowSize window})
-
Following Material Design Guidlines
https://material.io/design/layout/responsive-layout-grid.html#grid-behaviorconst - Breakpoint.fromConstraints(BoxConstraints constraints)
-
Following Material Design Guidlines
https://material.io/design/layout/responsive-layout-grid.html#grid-behaviorfactory - Breakpoint.fromMediaQuery(BuildContext context)
-
Following Material Design Guidlines
https://material.io/design/layout/responsive-layout-grid.html#grid-behaviorfactory
Properties
- columns → int
-
Number of columns for content
final
- device → LayoutClass
-
smallHandset, mediumHandset, largeHandset, smallTablet, largeTablet, deskto
final
- gutters → double
-
Spacing between columns
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → double
-
Spacing for the outer margin
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- window → WindowSize
-
xsmall, small, medium, large, xlarge
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited