v1.1.0flutter_bounce
탭 시 래핑된 위젯에 바운스 애니메이션을 제공하는 효율적인 Flutter 패키지입니다. iOS 및 안드로이드 두 가지 모바일 플랫폼 모두를 대상으로 합니다.
162좋아요 1.2천30일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
이것은 위젯에서 탭했을 때 반응하는 바운스 효과를 제공하는 플러터 패키지입니다
아래는 영문 원문 스냅샷입니다. 최신 내용은 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 ↗