animated_scrollable 1.0.0 copy "animated_scrollable: ^1.0.0" to clipboard
animated_scrollable: ^1.0.0 copied to clipboard

A customizable animated scrollable scaffold with flexible header and items list.

Animated Scrollable Scaffold 🚀 #

Uma biblioteca Flutter para criar headers animados incríveis que reagem ao scroll de forma simples e performática.

✨ Características #

  • 🛠 Header Dinâmico: Controle total com percent e shrinkOffset.
  • 🧠 Inteligente: Detecta automaticamente se deve colapsar para 0 ou para a altura da Toolbar.
  • 📦 Simples: Sem necessidade de gerenciar Slivers manualmente.
  • 📱 Fixo ou Scrollable: Escolha o que fica fixo no rodapé com o bottomWidget.

🚀 Como usar #

AnimatedScrollableScanfold(
  expandedHeight: 250.0,
  appBar: AppBar(title: Text("Meu App")), // Opcional
  header: (context, shrinkOffset, percent) {
    return Center(
      child: Opacity(
        opacity: percent,
        child: Icon(Icons.star, size: 50 * percent),
      ),
    );
  },
  items: [
    ListTile(title: Text("Item 1")),
    ListTile(title: Text("Item 2")),
  ],
  bottomWidget: ElevatedButton(
    onPressed: () {},
    child: Text("Ação Fixa"),
  ),
)
5
likes
0
points
220
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable animated scrollable scaffold with flexible header and items list.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on animated_scrollable