NomoColors class

Available extensions
Annotations

Constructors

NomoColors({required Brightness brightness, required Color primary, required Color onPrimary, required Color primaryContainer, required Color secondary, required Color onSecondary, required Color secondaryContainer, required Color background1, required Color background2, required Color background3, required Color surface, required Color error, required Color disabled, required Color foreground1, required Color foreground2, required Color foreground3, required Color onDisabled})
const
NomoColors.fromJson(Map<String, dynamic> json)
factory
NomoColors.lerp(NomoColors a, NomoColors b, double t)
factory

Properties

background1 Color
final
background2 Color
final
background3 Color
final
brightness Brightness
final
disabled Color
final
error Color
final
foreground1 Color
final
foreground2 Color
final
foreground3 Color
final
hashCode int
The hash code for this object.
no setteroverride
onDisabled Color
final
onPrimary Color
final
onSecondary Color
final
primary Color
final
primaryContainer Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
final
secondaryContainer Color
final
surface Color
final

Methods

copyWith({Brightness? brightness, Color? primary, Color? onPrimary, Color? primaryContainer, Color? secondary, Color? onSecondary, Color? secondaryContainer, Color? background1, Color? background2, Color? background3, Color? surface, Color? error, Color? disabled, Color? onDisabled, Color? foreground1, Color? foreground2, Color? foreground3}) NomoColors
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override