Breakpoints class

A group of standard breakpoints built according to the material specifications for screen width size.

See also:

Constructors

Breakpoints.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

all → const List<Breakpoint>
A list of all the standard breakpoints.
extraLarge → const Breakpoint
A window whose width is greater than 1600 dp.
extraLargeDesktop → const Breakpoint
A desktop window whose width is greater than 1600 dp.
extraLargeMobile → const Breakpoint
A mobile window whose width is greater than 1600 dp.
large → const Breakpoint
A window whose width is between 1200 dp and 1600 dp.
largeAndUp → const Breakpoint
A window whose width is greater than 1200 dp.
largeDesktop → const Breakpoint
A desktop window whose width is between 1200 dp and 1600 dp.
largeMobile → const Breakpoint
A mobile window whose width is between 1200 dp and 1600 dp.
medium → const Breakpoint
A window whose width is between 600 dp and 840 dp.
mediumAndUp → const Breakpoint
A window whose width is greater than 600 dp.
mediumDesktop → const Breakpoint
A desktop window whose width is between 600 dp and 840 dp.
mediumLarge → const Breakpoint
A window whose width is between 840 dp and 1200 dp.
mediumLargeAndUp → const Breakpoint
A window whose width is greater than 840 dp.
mediumLargeDesktop → const Breakpoint
A desktop window whose width is between 840 dp and 1200 dp.
mediumLargeMobile → const Breakpoint
A mobile window whose width is between 840 dp and 1200 dp.
mediumMobile → const Breakpoint
A mobile window whose width is between 600 dp and 840 dp.
small → const Breakpoint
A window whose width is less than 600 dp and greater than 0 dp.
smallAndUp → const Breakpoint
A window whose width is greater than 0 dp.
smallDesktop → const Breakpoint
A desktop screen whose width is less than 600 dp and greater than 0 dp.
smallMobile → const Breakpoint
A mobile screen whose width is less than 600 dp and greater than 0 dp.
standard → const Breakpoint
This is a standard breakpoint that can be used as a fallthrough in the case that no other breakpoint is active.