v1.1.0flutter_bounce
タップ時にラップされたウィジェットにバウンスアニメーションを実行する効率的なFlutterパッケージです。iOSおよびAndroidの両方のモバイルプラットフォームを対象としています。
162いいね 115030日間ダウンロード140Pub ポイント
AndroidiOSWebmacOSWindowsLinux
このFlutterパッケージは、ウィジェット上でタップした際のバウンス効果を提供します
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Flutter AnimationController and Tranform.scale() Widget.flutter_widget is not the copy paste of bouncing_widget, it works differently. Without limitations, and the functionality works differently, based upon the duration, and not on the scaleFactor.scaleFactor at all, which is required in the widgetflutter_bounce functionality. However, I have taken motivation from the limitations of the bouncing_widgetTo use this plugin, add flutter_bounce as a dependency in your pubspec.yaml file.
This is how the Bounce Widget works when wrapped around the widget. The below shows Bounce being used in both the scenario:

import 'package:flutter_bounce/flutter_bounce.dart';
Bounce.child, duration and onPressed is mandatory in the widget.onPressed and duration can have null in the widget. By default duration is set to 100 milliseconds.milliseconds for best resultBounce(
duration: Duration(milliseconds: 110),
onPressed: (){ YOUR_FUNCTION },
child: YOUR_WIDGET
)
依存関係一覧 2 件
{"sdk":"flutter"}{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗