Colors class
Constructors
- Colors.new({int? id, String? primaryColor, String? textOnPrimaryColor, dynamic secondaryColor, dynamic textOnSecondaryColor, dynamic accentColor, dynamic textOnAccentColor, String? backgroundColor, String? textOnBackgroundColor, bool? isRoot})
- Colors.fromJson(String data)
-
dart:convert
factory -
Colors.fromMap(Map<
String, dynamic> data) -
factory
Properties
- accentColor ↔ dynamic
-
getter/setter pair
- backgroundColor ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- isRoot ↔ bool?
-
getter/setter pair
- primaryColor ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryColor ↔ dynamic
-
getter/setter pair
- textOnAccentColor ↔ dynamic
-
getter/setter pair
- textOnBackgroundColor ↔ String?
-
getter/setter pair
- textOnPrimaryColor ↔ String?
-
getter/setter pair
- textOnSecondaryColor ↔ dynamic
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
dart:convert
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited