ButtonStyle class

Constructors

ButtonStyle({required String backgroundColor, String? disabledColor, TextStyle textStyle = const TextStyle(), BoxBorder? border, String hoverColor = '#0056b3'})
const
ButtonStyle.danger()
ButtonStyle.ghost()
ButtonStyle.outline()
ButtonStyle.primary()
ButtonStyle.secondary()
ButtonStyle.success()
ButtonStyle.warning()

Properties

backgroundColor String
final
border BoxBorder?
final
disabledColor String?
final
hashCode int
The hash code for this object.
no setterinherited
hoverColor String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle
final

Methods

copyWith({String? backgroundColor, String? disabledColor, TextStyle? textStyle, BoxBorder? border, String? hoverColor}) ButtonStyle
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.
inherited