Last updated:
0 purchases
notify inapp
notify_inapp #
show custom in-app notification with any Widgets.
Getting Started #
Add this to your package's pubspec.yaml file:
dependencies:
notify_inapp: ^0.0.3
copied to clipboard
Usage #
Then you just have to import the package with
import 'package:notify_inapp/notify_inapp.dart';
copied to clipboard
Show a notifcation
Notify notify = Notify();
notify.show(
context,
child,
);
copied to clipboard
Dismiss a notifcation
notify.dismiss();
copied to clipboard
Show Method Public Params Summary #
Param
Description
Default Value
duration
animation duration
300
keepDuration
notifcation shown time
3000
topOffset
Height from screen top
40
dismissDirectly
not show animation when closing notification
false
disableDrag
disable Drag down
false
Warning #
notifcation will never dismiss automatically when keepDuration is zero
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.