Responsive<T> class

Constructors

Responsive.maybeWhen({required T orElse, T? mobile, T? tablet, T? desktop})
factory
Responsive.when({required T mobile, required T tablet, required T desktop})
factory

Properties

desktop → T
final
hashCode int
The hash code for this object.
no setterinherited
mobile → T
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tablet → T
final

Methods

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

Operators

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