A Flutter package to show custom in-app notification with any Widgets.
-
Import it.
dependencies: in_app_notification: <latest-version>
import 'package:in_app_notification/in_app_notification.dart';
-
Place
InAppNotification
Widget into your app.return InAppNotification( child: MaterialApp( title: 'In-App Notification Demo', home: const HomePage(), ), );
-
Invoke
show()
static method ofInAppNotification
.InAppNotification.show( child: NotificationBody(count: _count), context: context, onTap: () => print('Notification tapped!'), );
See Discussions. If you have some idea or proposal, feel free to create new one.
If you have a question or found issue, feel free to create an issue.