ColorVariable class
- Inheritance
-
- Object
- Variable
- PrimitiveVariable
- ColorableVariable
- ColorVariable
Constructors
- ColorVariable.new({required ID id, required String name, required FFill light, required FFill dark})
-
const
Properties
- dark → FFill
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → ID
-
finalinherited
- isNullable → bool
-
finalinherited
- light → FFill
-
final
- name → String
-
finalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - type → VariableTypes
-
finalinherited
Methods
-
copyWith(
{ID? id, String? name, VariableTypes? type, FFill? light, FFill? dark, bool? isNullable}) → Variable -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setData(
Variable variable, dynamic value, {String? modelID, String? enumValue}) → Variable -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited