Breakpoint class

Entity object for Breakpoint system.

See the breakpoint system documentation for more information. https://m3.material.io/foundations/layout/applying-layout/window-size-classes.

Constructors

Breakpoint.fromConstraints(BoxConstraints constraints)
Generate Breakpoint from BoxConstraints.
factory
Breakpoint.fromSize(Size size)
Generate Breakpoint from Size.
factory
Breakpoint.fromWidth(double width)
Generate Breakpoint from width.
factory

Properties

body double
body element of Breakpoint system.
no setter
hashCode int
The hash code for this object.
no setterinherited
margin double
margin element of Breakpoint system.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenSize BreakpointScreenSize
Breakpoint screen size element of Breakpoint system.
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited