Button class

Implemented types

Constructors

Button({required Key id, required String label, void onPressed()?, Style? style, Style? focusedStyle})
const

Properties

focusedStyle → Style?
final
hashCode → int
The hash code for this object.
no setterinherited
id → Key
final
isSkipped → bool
no setteroverride
label → String
final
onPressed → void Function()?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → Style?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onKey(KeyEvent event, RenderContext ctx) → bool
override
registerHitZones(Rect area, HitZoneSink sink) → void
override
render(Rect area, Buffer buffer, RenderContext ctx) → void
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited