ResponsiveValue<T> class

Constructors

ResponsiveValue({T? xlarge, T? large, T? medium, T? small, T? xsmall, T? fallback, bool allowNull = false})
ResponsiveValue.from({bool allowNull = false, T? large, T? medium, T? small, T? xsmall, T? fallback})
factory
ResponsiveValue.upto({bool allowNull = false, T? xlarge, T? large, T? medium, T? small, T? fallback})
factory

Properties

fallback → T?
final
hashCode int
The hash code for this object.
no setterinherited
large → T?
final
medium → T?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
small → T?
final
xlarge → T?
final
xsmall → T?
final

Methods

fromScreen(Screen screen) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nullableValue(BuildContext context) → T?
toString() String
A string representation of this object.
inherited
value(BuildContext context) → T

Operators

operator ==(Object other) bool
The equality operator.
inherited