NesButtonTheme class

Class with information regarding buttons inside Flutter Nes.

Inheritance

Constructors

NesButtonTheme({required Color normal, required Color primary, required Color success, required Color warning, required Color error, required Color lightLabelColor, required Color darkLabelColor, required NesIconTheme lightIconTheme, required NesIconTheme darkIconTheme, Color? borderColor, int? pixelSize})
Class with information regarding buttons inside Flutter Nes.
const

Properties

borderColor Color?
The color of the button border. When null, fallbacks to the TextTheme.labelMedium color.
final
darkIconTheme NesIconTheme
The icon theme used on a light colored button.
final
darkLabelColor Color
The color for the labels used on a light colored button.
final
error Color
The color for the error type of button.
final
hashCode int
The hash code for this object.
no setterinherited
lightIconTheme NesIconTheme
The icon theme used on a dark colored button.
final
lightLabelColor Color
The color for the labels used on a dark colored button.
final
normal Color
The color for the normal type of button.
final
pixelSize int?
The pixel size used in the buttons, resorts to NesTheme.pixelSize when null.
final
primary Color
The color for the primary type of button.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success Color
The color for the success type of button.
final
type Object
The extension's type.
no setterinherited
warning Color
The color for the warning type of button.
final

Methods

copyWith({Color? normal, Color? primary, Color? success, Color? warning, Color? error, Color? lightLabelColor, Color? darkLabelColor, NesIconTheme? lightIconTheme, NesIconTheme? darkIconTheme, Color? borderColor, int? pixelSize}) NesButtonTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<NesButtonTheme>? other, double t) ThemeExtension<NesButtonTheme>
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