Skip to content

maxzod/EdgeAlerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edge Alerts

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

How to Use

# add this line to your dependencies
edge_alerts: ^0.0.1
import 'package:edge_alerts/edge_alerts.dart';
edgeAlert(context, title: 'Title', description: 'Description', gravity: Gravity.top);
property description
context BuildContext (required)
title 'Your title goes here' (nullable)
description 'Your description goes here' (nullable)
icon IconData (nullable)
backgroundColor Color (nullable) (Default theme primary color)
duration number of seconds in int
gravity enum Gravity { top , bottom }

EdgeAlert

Inspiration

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

Original package

https://github.com/mohamed6996/EdgeAlert

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published