A Flutter package for show custom in-app notification

in_app_notification

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!'),
    );
    

GitHub

https://github.com/cb-cloud/flutter_in_app_notification