on_pressed 0.0.1 icon indicating copy to clipboard operation
on_pressed: ^0.0.1 copied to clipboard

A Flutter plugin to make any widget clickable easily

On Pressed #

Package to make any widget clickable easily.

How #

Rather than dealing with wrapping the text in another widget, just add .onPressed to any widget and make it clickable easily.

Text("Click Me").onPressed((){
    print('I was clicked')
});
2
likes
90
pub points
54%
popularity

Publisher

unverified uploader

A Flutter plugin to make any widget clickable easily

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on on_pressed