Breakpoint class

Constructors

Breakpoint({required String name, required double minWidth, double? maxWidth, required DeviceType deviceType, Map<String, dynamic>? metadata})
const

Properties

deviceType → DeviceType
final
hashCode → int
The hash code for this object.
no setterinherited
maxWidth → double?
final
metadata → Map<String, dynamic>?
final
minWidth → double
final
name → String
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({String? name, double? minWidth, double? maxWidth, DeviceType? deviceType, Map<String, dynamic>? metadata}) → Breakpoint
matches(double width) → bool
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

defaults → const List<Breakpoint>
desktop → const Breakpoint
mobile → const Breakpoint
tablet → const Breakpoint
widescreen → const Breakpoint