FLUTTER ECOSYSTEM

mattrltrent/alert_banner

Um banner de alerta poderoso e bonito que anima uma mensagem para o usuário. Pacote do Pub.

Capa do projeto banner de alerta
Stars
1
Forks
3
Último push (UTC)
2 de dez. de 2023
Status do projeto
Ativo
Matthew Trent GitHub avatar
GITHUB User

Matthew Trent ↗

SWE @ Sorce (YC F25) | MS CS @ Columbia | Prev. @ Probe, Magi, Confesi (Founder) | Honors BS CS w/ Distinction

Sorce (YC F25)San Francisco, CA
LinguagensC++CMakeDartHTMLCSwiftKotlinObjective-C

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}
  • flutter_lintsDesenvolvimento^2.0.0

README original

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

Expandir / recolher README

🔥 A powerful & beautiful alert banner that animates a message to the user 🔥

  • Submit an issue here.

  • Create a pull request here.

  • Contact me via email [here](mailto:me@matthewtrent.me).

One simple way to use 📚

Here is a quick example. Simply call showAlertBanner(...).

TextButton(
    onPressed: () =>  showAlertBanner( // <-- The function!
    context,
    () =>  print("TAPPED"),
    const  ExampleAlertBannerChild(), // <-- Put any widget here you want!
    alertBannerLocation:  AlertBannerLocation.bottom,
    ),
    child:  const  Text("Show alert"),
    // .. EDIT MORE FIELDS HERE ...
),

Installing 🧑‍🏫

  • Install the package from the pub.

  • flutter pub add alert_banner

  • Import the package.

  • import 'package:alert_banner/exports.dart';

Example Gif 📸

https://github.com/mattrltrent/alert_banner/blob/main/resources/demo.gif?raw=true

Additional Info 📣

analytics