FLUTTER ECOSYSTEM

MingSern/flutter_bounceable

Uma animação simples, interativa e personalizável de rebote ao toque que pode ser envolvida em qualquer widget que você goste.

Capa do projeto flutter_bounceable
Stars
31
Forks
8
Último push (UTC)
6 de jan. de 2025
Status do projeto
Ativo
Winson Yeo GitHub avatar
GITHUB User

Winson Yeo ↗

CodeBudee SolutionsMalaysiaSite oficial ↗
LinguagensDartHTMLSwiftKotlinObjective-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^1.0.0

README original

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

Expandir / recolher README

flutter_bounceable

  • A simple, interactive and customizable on-tap bounce animation that can be wrapped on any widgets that you like.
  • You can create custom bouncing animation similarly to apps like Spotify and App Store.
  • Package similar to flutter_bounce and bouncing_widget.

Advantages:

  • Truly simple and efficient.
  • Customizable bouncing animation using curve, scaleFactor and duration.
  • Options to control onTap, onTapUp, onTapDown, onTapCancel and onLongPress.
  • Enable and disable onTap option.
  • Not sticky when scrolling.
  • Does not trigger multiple onTap events when tapped on multiple Bounceable widget simultaneously.

🚀 Installing:

In your pubspec.yaml

dependencies:
  flutter_bounceable: ^1.2.0
import 'package:flutter_bounceable/flutter_bounceable.dart';

Usage:

Just wrap on any widget that you like, it just works🙂:

Bounceable(
  onTap: () {},
  child: YourWidget(),
);

Demo:

https://github.com/MingSern/flutter_bounceable/raw/main/documentation/demo.gif

Contributing:

Feature requests and pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Support:

"Buy Me A Coffee"