Search packages, repositories and app categories

Package detailsv0.0.1

edge_alert

A Flutter package that shows alert from top or bottom of the screen .

30-day downloads
84
Likes
38
Pub points
40

Install package

flutter pub add edge_alert

Package Overview

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

Edge Alert is a Flutter package designed to display alerts from the top or bottom of the screen, offering a clean and customizable way to show notifications. It enhances user experience with smooth animations and flexible positioning. Ideal for lightweight alerts that don’t obstruct the main content, it supports both iOS and Android platforms. The package is easy to integrate and use, making it suitable for apps needing quick feedback without full-screen interruptions.

Use cases

  • Displaying quick status updates
  • Showing user feedback after actions
  • Notifying users of events without distraction
  • Enhancing UI with subtle alert animations
  • Providing temporary guidance messages

Key features

  • Top or bottom alert positioning
  • Smooth animation transitions
  • Customizable appearance
  • Lightweight and fast
  • Easy integration with existing code

Suitable for

  • Simple notification needs
  • Apps requiring minimal UI disruption
  • Developers seeking lightweight toast alternatives
  • Projects with tight performance constraints
  • UI-focused applications

Considerations

  • Limited to top or bottom placement only
  • No built-in support for complex layouts
  • May require custom styling for advanced designs
  • Not ideal for long-form messages
  • Depends on external dependency management

Original README

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

Edge Alert

A Flutter package that shows alert from top or bottom of the screen.

How to Use

# add this line to your dependencies
edge_alert: ^0.0.1
import 'package:edge_alert/edge_alert.dart';
EdgeAlert.show(context, title: 'Title', description: 'Description', gravity: EdgeAlert.TOP);
property description
context BuildContext (Not Null)(required)
title 'Your title goes here'
description 'Your description goes here'
icon IconData (Default: Icons.notifications)
backgroundColor Color() (Default Colors.grey)
duration EdgeAlert.LENGTH_SHORT(1 second, Default) or EdgeAlert.LENGTH_LONG(2 sec) or EdgeAlert.LENGTH_VERY_LONG(3 sec)
gravity EdgeAlert.TOP(Default) or EdgeAlert.BOTTOM

EdgeAlert

Inspiration

https://github.com/Tapadoo/Alerter/

License

MIT License

Categories

Source repository

Projects using this package