NesSnackbarTheme class
Class with information regarding buttons inside Flutter Nes.
- Inheritance
-
- Object
- ThemeExtension<
NesSnackbarTheme> - NesSnackbarTheme
Constructors
- NesSnackbarTheme({required Color normal, required Color success, required Color warning, required Color error})
-
Class with information regarding buttons inside Flutter Nes.
const
Properties
- error → Color
-
The color for the error type of the snackbar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- normal → Color
-
The color for the normal type of the snackbar.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → Color
-
The color for the success type of the snackbar.
final
- type → Object
-
The extension's type.
no setterinherited
- warning → Color
-
The color for the warning type of the snackbar.
final
Methods
-
copyWith(
{Color? normal, Color? success, Color? warning, Color? error}) → NesSnackbarTheme -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< NesSnackbarTheme> ? other, double t) → ThemeExtension<NesSnackbarTheme> -
Linearly interpolate with another ThemeExtension object.
override
-
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