Breakpoint class

Represents a breakpoint with minimum and maximum widths.

A breakpoint is considered a match when the given size falls within its minimum and maximum width range.

Implementers

Constructors

Breakpoint({double minWidth = 0, double maxWidth = double.infinity})
Creates a new breakpoint with the given minWidth and maxWidth.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxWidth double
The maximum width for this breakpoint.
final
minWidth double
The minimum width for this breakpoint.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(Size size) bool
Checks whether the given size matches this breakpoint.
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