Island Msg

A minimalist, beautiful "Dynamic Island" style notification system for Flutter apps.

It drops a sleek pill from the top of the screen (or expands naturally) to show success, error, or info messages.

Features

  • Standardized Presets: success, error, info.
  • Fully Customizable: Use any Widget, Icon, or Color.
  • Springy Animations: Feels like a native OS interaction.
  • Lightweight: Zero external dependencies (other than Flutter).

Usage

// 1. Simple Info
IslandMsg.info(context, "AirPods Connected");

// 2. Success with Checkmark
IslandMsg.success(context, "Profile Saved!");

// 3. Error with Alert
IslandMsg.error(context, "Connection Failed");

// 4. Fully Custom
IslandMsg.show(
  context,
  content: Text("Incoming Call..."),
  icon: Icon(Icons.phone, color: Colors.green),
  backgroundColor: Colors.grey[900],
  duration: Duration(seconds: 5),
  expandedContent: Text("More details here..."), // Optional expansion
);

Installation

Add this to your pubspec.yaml:

dependencies:
  island_msg: ^0.0.1

Developer

Developed with 💖 by Dileep P.

Libraries

island_msg