onTapDown method
Implementation
@override
@mustCallSuper
void onTapDown(TapDownEvent event) {
if (buttonDown != null) {
button!.removeFromParent();
buttonDown!.parent = this;
}
onPressed?.call();
}
@override
@mustCallSuper
void onTapDown(TapDownEvent event) {
if (buttonDown != null) {
button!.removeFromParent();
buttonDown!.parent = this;
}
onPressed?.call();
}