MaterialTextButtonData class Null safety

Constructors

MaterialTextButtonData({Key? widgetKey, Widget? child, VoidCallback? onPressed, VoidCallback? onLongPress, FocusNode? focusNode, ButtonStyle? style, bool? autofocus, Clip? clipBehavior, Widget? icon})

Properties

autofocus bool?
final
child Widget?
final, inherited
clipBehavior Clip?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
icon Widget?
final
onLongPress VoidCallback?
final
onPressed VoidCallback?
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
style ButtonStyle?
final
widgetKey Key?
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited