Buscar pacotes, repositórios e categorias de apps

Capa de tdk_bouncingwidget
Detalhes do pacotev1.0.4

tdk_bouncingwidget

Um pacote leve do Flutter para conseguir animações de rebote em widgets do Flutter ao clicar. Três tipos de animações de rebote são fornecidos.

AndroidiOSWebmacOSWindowsLinux
Downloads em 30 dias
39
Curtidas
14
Pontos Pub
150

Instalar pacote

flutter pub add tdk_bouncingwidget

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

tdk_bouncingwidget é um pacote leve do Flutter que adiciona animações de rebote aos widgets ao tocar, aprimorando a interação do usuário com feedback visual sutil. Oferece três tipos distintos de animação de rebote, tornando fácil personalizar a resposta de botões e outros elementos interativos. Projetado para simplicidade e desempenho, integra-se perfeitamente em aplicativos Flutter em múltiplas plataformas. Ideal para desenvolvedores que buscam melhorar o engajamento da interface sem código complexo. O pacote é de código aberto e mantido ativamente.

Casos de uso

  • Adicionando feedback tátil a botões
  • Melhorar interações por toque em formulários
  • Criando elementos de interface do usuário divertidos
  • Melhorar a responsividade do aplicativo
  • Personalizando efeitos de toque do widget
  • Ícones e cartões animados

Principais recursos

  • Três tipos de rebote embutidos
  • Leve e rápido
  • Suporte multiplataforma
  • Integração simples da API
  • Open-source e bem documentado
  • Mínimo boilerplate necessário

Indicado para

  • Designers de UI procurando feedback interativo
  • Desenvolvedores de aplicativos móveis ou web
  • Aplicativos que exigem respostas de toque intuitivas
  • Projetos focados em animações suaves
  • Desenvolvedores iniciantes a intermediários do Flutter

Considerações

  • Limitado a animações baseadas em toque
  • Sem opções avançadas de personalização
  • Pode não ser adequado para estilos de design minimalistas
  • Impacto no desempenho em árvores de widget pesadas
  • Não destinado à reconhecimento de gestos complexos

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

Want to animate your widgets (like containers, cards etc...) bouncing In and out while clicking? Here is the package for that.

Features

This package contains a widget, where you need to wrap your own widgets ( like container, cards ect...) to animate them bounce in and out while clicking.

bouncing-widget-eg2

Getting started

As the first step we need to add this package in pubspec.yaml file or run the following command flutter pub add tdk_bouncingwidget

Usage

Just wrap your widget inside BouncingWidgetInOut widget as shown below and we are done!!

BouncingWidgetInOut(
    onPressed: () {},
    bouncingType: BouncingType.bounceInAndOut,
    child : Container(
        height: 60,
        width: 200,
        child: const Text('click to bounce')
    ))

There is one optional parameter called "bouncingType" which specifies the bouncing type of the widget. That is "Bouncing In only" or "Bouncing out Only" or both "Bouncing In and Out". By default bouncingType is "bounceInOnly".

bounceInOnly => Widget will shrink and grow based on scale factor value.

bounceOutOnly => Widget will grow and shrink based on scale factor value.

bounceInAndOut => Widget will shrink and grow first and then it will grow and shrink based on the scale factor value.

You can even customize the bouncing animation by giving duration how much time your widgets needs to animate and how large and small your widget should grow/shrink by giving scale factor value.

Additional information

Feel free to raise an issue if anything breaking, I will try to fix that ASAP. Github link mentioned above. Thanks!

Categorias

Repositório-fonte

Projetos que usam este pacote

Ainda não há dados.