Condition<T> class abstract

Parent class that has the rules for classes become a Condition valid class, this class serves as a skeleton for ConditionScreen and ConditionBreakpoint.

Implementers

Constructors

Condition({Conditional conditional = Conditional.EQUALS, T? mobile, T? tablet, T? desktop})
const
Condition.equals(T? value)
const
Condition.largerThan(T? value)
const
Condition.smallerThan(T? value)
const

Properties

conditional Conditional
Type of condition: EQUALS, SMALLER_THAN, LARGER_THAN
final
desktop → T?
Value for desktop Screen
finalinherited
hashCode int
The hash code for this object.
no setterinherited
mobile → T?
Value for mobile Screen
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tablet → T?
Value for tablet Screen
finalinherited

Methods

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

Operators

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