ResponsiveValue<T> class Null safety

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. [...]
read-only, inherited
large → T?
final
medium → T?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
small → T?
final
xlarge → T?
final
xsmall → T?
final

Methods

fromScreen(Screen screen) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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