FLUTTER ECOSYSTEM

MingSern/flutter_bounceable

タップ時に発生するシンプルでインタラクティブかつカスタマイズ可能なバウンスアニメーションで、任意のウィジェットにラップできます。

flutter_bounceable のプロジェクト画像
Stars
31
Forks
8
最終プッシュ(UTC)
2025/01/06
プロジェクト状態
公開中
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"