Condition<T> class

A conditional value provider.

Provides the value when the condition is active. Compare conditions by setting either breakpoint or name values.

Constructors

Condition.equals({required String? name, T? value, T? landscapeValue})
const
Condition.largerThan({int? breakpoint, String? name, T? value, T? landscapeValue})
const
Condition.smallerThan({int? breakpoint, String? name, T? value, T? landscapeValue})
const

Properties

breakpoint → int?
final
condition → Conditional?
final
hashCode → int
The hash code for this object.
no setterinherited
landscapeValue → T?
final
name → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → T?
final

Methods

copyWith({int? breakpoint, String? name, Conditional? condition, T? value, T? landscapeValue}) → Condition
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sort(Condition a, Condition b) → int
toString() → String
A string representation of this object.
override

Operators

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