ColorData class
- Annotations
Constructors
- ColorData({required Color primary, required Color secondary, required Color neutral1, required Color neutral2, required Color neutral3, required Color neutral4, required Color neutral5, required Color neutral6, required Color neutral7})
-
const
- ColorData.fallback()
-
factory
-
ColorData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- neutral1 → Color
-
final
- neutral2 → Color
-
final
- neutral3 → Color
-
final
- neutral4 → Color
-
final
- neutral5 → Color
-
final
- neutral6 → Color
-
final
- neutral7 → Color
-
final
- primary → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → Color
-
final
Methods
-
copyWith(
{Color? primary, Color? secondary, Color? neutral1, Color? neutral2, Color? neutral3, Color? neutral4, Color? neutral5, Color? neutral6, Color? neutral7}) → ColorData -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited