BreakpointToken class
Design token for Breakpoint values.
- Inheritance
-
- Object
- MixToken<
Breakpoint> - BreakpointToken
Constructors
- BreakpointToken(String name)
-
const
Properties
Methods
-
call(
) → BreakpointRef -
Returns a reference value for Mix utilities.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
BuildContext context) → Breakpoint -
Resolves this breakpoint via MixScope, with built-in defaults for the
canonical mobile, tablet, and desktop tokens when no scope is
present or the scope does not declare them.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- desktop → const BreakpointToken
- mobile → const BreakpointToken
- tablet → const BreakpointToken