NiceColorScheme class

Standardized color scheme for NiceToDev widgets.

Constructors

NiceColorScheme({required Color primary, required Color primaryVariant, required Color secondary, required Color background, required Color surface, required Color error, required Color onPrimary, required Color onBackground, required Color onSurface, required Color onError, required Color border, required Color disabled, required Color success, required Color warning, required Color info})
const
NiceColorScheme.dark()
Default dark color scheme.
factory
NiceColorScheme.light()
Default light color scheme.
factory

Properties

background Color
final
border Color
final
disabled Color
final
error Color
final
hashCode int
The hash code for this object.
no setterinherited
info Color
final
onBackground Color
final
onError Color
final
onPrimary Color
final
onSurface Color
final
primary Color
final
primaryVariant Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
final
success Color
final
surface Color
final
warning Color
final

Methods

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