GenericButtonModel class

Constructors

GenericButtonModel({dynamic onPressed()?, required String text, double? height, Color? color, double? width, bool? disabled, required GenericButtonType type, TextStyle? textStyle, FlexFit fit = FlexFit.tight})

Properties

color Color?
final
disabled bool?
final
fit FlexFit
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
onPressed → dynamic Function()?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final
textStyle TextStyle?
final
type GenericButtonType
final
width double?
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