Flutter Tip — Level up your App’s UX by using In-App Notification

Flutter Tip — Level up your App’s UX by using In-App Notification

Hello 🙋🏻‍♂️ FlutterDevs,

Have you come around to a situation where you have to notify the user after the execution of a specific event in your app?

You can simply use SnackBar which is included in Flutter SDK. Right?

Yes, you can but, if you want to notify your user with an in-app notification that contains a custom design.

With the in_app_notification Package, you can use a custom design for each in-app notification you display.

Moving to the code,

First, You have to add a dependency in your project’s pubspec.yaml file

Now, wrap your MaterialApp Widget with InAppNotification Widget.

The next step is to show an in-app notification. For this, you have to call InAppNotification.show() method.

This is how it displays the in-app notification.

Recently I also contributed to this in_app_notification package by upgrading the example code to support the latest Flutter version & Android v2 Embedding.

That’s all folks.

Keep Clapping 👏🏻 Keep Fluttering 🚀

Thanks for reading 🙌🏻

You can connect with me on Twitter / LinkedIn