Class class
Basic class structure of a class annotated with ResponsiveConfig.
Constructors
-
Class({required String name, required double desktopBreakpoint, required double tabletBreakpoint, required double laptopBreakpoint, required double mobileBreakpoint, required double widescreenBreakpoint, required Iterable<
Variable> variables}) -
Default constructor for the
Class.const - Class.fromElement(ClassElement element)
-
Factory
fromElementconstructor for creating a Class from aClassElement.factory
Properties
- desktopBreakpoint → double
-
The breakpoint for
ScreenType.desktop.final - hashCode → int
-
The hash code for this object.
no setterinherited
- laptopBreakpoint → double
-
The breakpoint for
ScreenType.laptop.final - mobileBreakpoint → double
-
The breakpoint for
ScreenType.mobile.final - name → String
-
The name of the class.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabletBreakpoint → double
-
The breakpoint for
ScreenType.tablet.final -
variables
→ Iterable<
Variable> -
All variables annotated with
@ResponsiveVariable<T>of the annotated class.final - widescreenBreakpoint → double
-
The breakpoint for
ScreenType.widescreen.final
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