Skip to content

cb-cloud/flutter_in_app_notification

Repository files navigation

💬 in_app_notification

pub package

A Flutter package to show custom in-app notification with any Widgets.

✍️ Usage

  1. Import it.

    dependencies:
        in_app_notification: <latest-version>
    import 'package:in_app_notification/in_app_notification.dart';
  2. Place InAppNotification Widget into your app.

     return InAppNotification(
       child: MaterialApp(
         title: 'In-App Notification Demo',
         home: const HomePage(),
       ),
     );
  3. Invoke show() static method of InAppNotification.

    InAppNotification.show(
      child: NotificationBody(count: _count),
      context: context,
      onTap: () => print('Notification tapped!'),
    );

🗺 Roadmap / Known issue

See Discussions. If you have some idea or proposal, feel free to create new one.

💭 Have a question?

If you have a question or found issue, feel free to create an issue.

About

A Flutter package for show custom in-app notification.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •