Skip to main content

Overview

The sirenapp_flutter_inbox is a comprehensive and customizable Flutter UI kit for displaying and managing notifications. This documentation provides comprehensive information on how to install, configure, and use the SDK effectively.

Installation

To install the sirenapp_flutter_inbox package:
1

Open your pubspec.yaml file
2

Add sirenapp_flutter_inbox to your dependencies:Add sirenapp_flutter_inbox to your dependencies:
3

Run flutter pub get in your terminal to install the package

Configuration

Initialization

Initialize the SDK with user token and recipient ID. Wrap the provider around your App’s root widget.

Configure Notification Icon

This widget displays a notification icon with a badge showing the number of unviewed notifications.

Notification Icon Arguments

Configure Notification Inbox

The SirenInbox widget provides a paginated list view for displaying notifications.

Inbox Arguments

Filter Configuration

Customization

Theme Customization
Style Customization

Siren Class

The Siren class provides utility functions for managing notifications:

Complete Example