discontinuedPackage responsive_config has been discontinued.

Variable class

Basic class structure of a class annotated with ResponsiveVariable

Constructors

Variable({required String name, required DartType type, required dynamic mobile, required dynamic tablet, required dynamic laptop, required dynamic desktop, required dynamic widescreen})
Default constructor for the Variable.
const
Variable.fromElement(FieldElement element)
Factory fromElement constructor for creating a Variable from a FieldElement.
factory

Properties

desktop → dynamic
The value of this variable for the desktop screen type.
final
hashCode → int
The hash code for this object.
no setterinherited
laptop → dynamic
The value of this variable for the laptop screen type.
final
mobile → dynamic
The value of this variable for the mobile screen type.
final
name → String
The name of the variable.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tablet → dynamic
The value of this variable for the tablet screen type.
final
type → DartType
The type of the variable.
final
widescreen → dynamic
The value of this variable for the widescreen screen type.
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