action_widget 1.1.1
action_widget: ^1.1.1 copied to clipboard
Make maintaining your application simple by adding a single point to focus on click event returns from screen components and animate your click event.
action_widget #
Widget for Event Click Animation.
This dependency provides a unique point onTap events for any type of widget (enter the widget key), parameterize your widget and its class "this" and we also have an animation for the event.
EXAMPLE:
//implementation interface action class ExamplePageState extends State
...
body: Center( //animation listener widget child: EventWidgetAnim(child: Container( key: Key("id_container"), color: Colors.grey, height: 50, width: 200, ), actionListener: this,), ), );
@override void manageTapClick(String value) { // TODO: implement manageTapClick switch (value){ case "id_container": // TODO: add your flow break; } } }