Search packages, repositories and app categories

flash cover
Package detailsv3.1.1

flash

A highly customizable, powerful and easy-to-use alerting library for Flutter.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
44.2K
Likes
1.1K
Pub points
150

Install package

flutter pub add flash

Package Overview

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

Flash is a customizable and powerful alerting library for Flutter, designed to deliver intuitive and visually appealing notifications. It supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. With a simple API and extensive customization options, Flash enables developers to create toast messages, banners, and alerts that fit seamlessly into any app design. It emphasizes ease of use without sacrificing functionality, making it ideal for real-time feedback and user guidance.

Use cases

  • Displaying user feedback messages
  • Showing system notifications
  • Enhancing UX with visual alerts
  • Implementing in-app banners
  • Providing success/error messages
  • Supporting multi-platform apps

Key features

  • Highly customizable appearance
  • Cross-platform compatibility
  • Simple and intuitive API
  • Supports animations and transitions
  • Extensible for custom layouts
  • Built-in themes and styles

Suitable for

  • Developers seeking lightweight notification solutions
  • Apps requiring consistent UI feedback
  • Projects targeting multiple platforms
  • Teams prioritizing developer experience
  • Designers wanting flexible alert styling
  • Applications needing quick integration of toast-like messages

Considerations

  • May require additional styling for complex UI needs
  • Limited built-in animation presets
  • Customization may increase bundle size
  • Depends on Flutter's rendering pipeline
  • Not optimized for high-frequency alerts
  • Requires manual handling of dismiss logic in advanced cases

Original README

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

Flash

⚡️A highly customizable, powerful and easy-to-use alerting library for Flutter.

Website: https://sososdk.github.io/flash

Specs

pub

This library allows you to show messages or alerts in your app quickly and easily. It can be used as an alternative to Snackbar or Toast or Dialog and offers a plethora of useful features and customization options for you to play with.

It has been written 100% in Dart. ❤️

Table of Contents

Spread Some :heart:

GitHub followers

Getting started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  flash: ^3.1.0

In your library add the following import:

import 'package:flash/flash.dart';

Sample Project

We have an exhaustive sample project demonstrating almost every feature of the library.

Usage

It is recommended to check the sample project to get a complete understanding of all the features offered by the library.

basic top bottom toast dialog

Contribution

I highly encourage the community to step forward and improve this library further. You can fix any reported bug, propose or implement new features, write tests, etc.

Here is a quick list of things to remember

  • Check the open issues before creating a new one,
  • Help me in reducing the number of open issues by fixing any existing bugs,
  • Check the roadmap to see if you can help in implementing any new feature,
  • You can contribute by writing unit and integration tests for this library,
  • If you have any new idea that aligns with the goal of this library, feel free to raise a feature request and discuss it.

License

Copyright 2019 sososdk

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Categories

Source repository

Projects using this package