FLUTTER ECOSYSTEM

cb-cloud/flutter_in_app_notification

カスタムアプリ内通知を表示するためのFlutterパッケージ。

flutter_in_app_notification のプロジェクト画像
Stars
21
Forks
15
最終プッシュ(UTC)
2023/12/20
プロジェクト状態
公開中
CBcloud GitHub avatar
GITHUB Organization

CBcloud ↗

言語DartHTMLSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • pedantic開発用^1.11.0

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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.