Breakpoint class

Constructors

Breakpoint({required int columns, required LayoutClass device, required double gutters, required WindowSize window})
Following Material Design Guidlines https://material.io/design/layout/responsive-layout-grid.html#grid-behavior
const
Breakpoint.fromConstraints(BoxConstraints constraints)
Following Material Design Guidlines https://material.io/design/layout/responsive-layout-grid.html#grid-behavior
factory
Breakpoint.fromMediaQuery(BuildContext context)
Following Material Design Guidlines https://material.io/design/layout/responsive-layout-grid.html#grid-behavior
factory

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
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