Search categories, packages and repositories

in_app_notification cover
Package detailsv1.1.2

in_app_notification

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
5.3K
Likes
188
Pub points
160

Install package

flutter pub add in_app_notification

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that enables developers to display custom in-app notifications using any Flutter widgets. It provides a flexible and lightweight solution for showing transient messages directly within the app interface, supporting full customization of appearance and behavior. Ideal for conveying feedback, alerts, or status updates without relying on system-level notifications. The package works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases

  • Displaying user feedback
  • Showing form validation errors
  • Notifying users of successful actions
  • Customizing notification layouts
  • Implementing real-time alerts
  • Enhancing UI with dynamic messages

Key features

  • Supports any widget as notification content
  • Cross-platform compatibility
  • Easy integration with existing UI
  • Configurable positioning and animation
  • Lightweight and performant
  • Extensible through custom builders

Suitable for

  • Developers needing custom in-app alerts
  • Apps requiring rich notification designs
  • Projects with multi-platform deployment
  • Teams wanting simple yet flexible toast solutions
  • UI-heavy applications
  • Real-time application feedback systems

Considerations

  • Requires manual management of notification lifecycle
  • May need additional styling for consistent appearance
  • Not suitable for persistent notifications
  • Limited built-in themes compared to dedicated toast packages
  • Best used with proper state management
  • Performance impact if overused with complex widgets

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

💬 in_app_notification

pub package

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

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

Categories

Source repository

Projects using this package

No data available yet.