onClick method
void
onClick(
- void callback()
A method that sets the button press event handler.
Implementation
void onClick(void Function() callback) => _jsObject.onClick(callback.toJS);
A method that sets the button press event handler.
void onClick(void Function() callback) => _jsObject.onClick(callback.toJS);