onTap method
A modifier that sets its Button's onPress handler.
Example:
Button(() => Text("Tap me"))
.onTap(() => print("Tapped!"));
Implementation
Button onTap(VoidCallback perform) {
return this._rebase(onPressed: perform);
}
A modifier that sets its Button's onPress handler.
Button(() => Text("Tap me"))
.onTap(() => print("Tapped!"));
Button onTap(VoidCallback perform) {
return this._rebase(onPressed: perform);
}