FLUTTER ECOSYSTEM

MingSern/flutter_bounceable

一個簡單、互動式且可自訂的點擊彈跳動畫,可包裝在您喜歡的任何組件上。

flutter_bounceable 專案封面
Stars
31
Forks
8
最近推送(UTC)
2025年1月6日
專案狀態
未封存
Winson Yeo GitHub avatar
GITHUB User

Winson Yeo ↗

CodeBudee SolutionsMalaysia官方網站 ↗
語言DartHTMLSwiftKotlinObjective-C

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴^1.0.0

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 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"