Responsive class

Phone vs tablet layout helpers (shortestSide >= 600 = tablet).

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

Static Methods

dialogInset(BuildContext context) → EdgeInsets
dialogMaxWidth(BuildContext context) → double
Max width for centered dialogs on phones and tablets.
isTablet(BuildContext context) → bool
sheetHeightFactor(BuildContext context) → double
sheetMaxWidth(BuildContext context) → double
Centered bottom-sheet width on tablet; full width on phone.
sizeOf(BuildContext context) → Size