edge_alerts

Creator: coderz1093

Last updated:

Add to Cart

Description:

edge alerts

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
copied to clipboard
import 'package:edge_alerts/edge_alerts.dart';
copied to clipboard
edgeAlert(context, title: 'Title', description: 'Description', gravity: Gravity.top);
copied to clipboard



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 }




Inspiration #
https://github.com/Tapadoo/Alerter/
Original package #
https://github.com/mohamed6996/EdgeAlert
License #
MIT License
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.