FLUTTER ECOSYSTEM

cb-cloud/flutter_in_app_notification

A Flutter package for show custom in-app notification.

flutter_in_app_notification project cover
Stars
21
Forks
15
Last push (UTC)
Dec 20, 2023
Project status
Active
CBcloud GitHub avatar
GITHUB Organization

CBcloud ↗

LanguagesDartHTMLSwiftKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 3 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}
  • pedanticDevelopment^1.11.0

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

💬 in_app_notification

pub package

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

https://raw.githubusercontent.com/wiki/cb-cloud/flutter_in_app_notification/assets/doc/top.gif

✍️ 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.