in_app_notification
a flutter package to show custom in-app notification with any widgets.
✍️ usage
- 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!'), );
Comments are closed.