ButtonColors class
ButtonColors button colors for app.
- Annotations
-
- @freezed
Constructors
- ButtonColors({@JsonKey(name: 'brand_static') required String brandStatic, @JsonKey(name: 'brand_active') required String brandActive, @JsonKey(name: 'brand_disable') required String brandDisable, @JsonKey(name: 'simple_static') required String simpleStatic, @JsonKey(name: 'simple_active') required String simpleActive, @JsonKey(name: 'simple_disable') required String simpleDisable})
-
constfactory
-
ButtonColors.fromJson(Map<
String, dynamic> json) -
factory
Properties
- brandActive → String
-
Brand active color.
no setterinherited
- brandDisable → String
-
Brand disable color.
no setterinherited
- brandStatic → String
-
Brand static color.
no setterinherited
-
copyWith
→ $ButtonColorsCopyWith<
ButtonColors> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- simpleActive → String
-
Simple active color.
no setterinherited
- simpleDisable → String
-
Simple disable color.
no setterinherited
- simpleStatic → String
-
Simple static color.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited