back_pressed

Creator: coderz1093

Last updated:

Add to Cart

Description:

back pressed

On Back Pressed #
Easiest package which overrides the back button functions in your flutter app #

https://www.buymeacoffee.com/heyom

> Adding Permissions #
No Permissions Required

copied to clipboard

Extreme Simple use of the package #
Use the widget as the parent widget of Scaffold of your widget tree #
OnBackPressed(),
copied to clipboard
Note:This widget needs to be placed as parent of Scaffold #
Requires a child widget #
Requires a function #
perform(){}
copied to clipboard
Full Widget Example #
OnBackPressed(
perform(){
//perform any action on back pressed
},
child:Scaffold(),
),
copied to clipboard

Look at the example linked to know more #
https://pub.dev/packages/back_pressed/example

Getting Started with Flutter #
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.