FLUTTER ECOSYSTEM

mohamed6996/EdgeAlert

Um plugin Flutter que exibe um aviso na parte superior ou inferior da tela

Capa do projeto EdgeAlert
Stars
44
Forks
16
Último push (UTC)
19 de jun. de 2024
Status do projeto
Ativo
Mohamed Ali GitHub avatar
GITHUB User

Mohamed Ali ↗

Lazy android developer.

LinguagensDartObjective-CJava

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 2 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

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