notify_inapp 0.0.4 copy "notify_inapp: ^0.0.4" to clipboard
notify_inapp: ^0.0.4 copied to clipboard

show custom in-app notification with any Widgets.

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

Usage #

Then you just have to import the package with

import 'package:notify_inapp/notify_inapp.dart';

Show a notifcation

Notify notify = Notify();
notify.show(
  context,
  child,
);

Dismiss a notifcation

notify.dismiss();

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

9
likes
120
pub points
73%
popularity

Publisher

verified publishernewtab.work

show custom in-app notification with any Widgets.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on notify_inapp