ripple_effect
Flutter 앱에서 어떤 위젯에서도 화면 전체로 리플 효과를 시작하는 간단한 방법입니다.
앱에 리플 효과를 추가하기 위한 Flutter pub 패키지
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A easy way to achieve a ripple effect on you flutter app.

First you need to wrap your page/Scaffold with the RipplePage widget, the ripple efect will growth until this widget. Then
wrap with the RippleEffect where the animation should begin. When the animation should begin, call the RippleEffect.start method passing you callback method(often navigate to other page).
The RipplePage and RippleEffect widgets need their GlobalKeys respectively to work.
class Stateless extends StatelessWidget {
final pageKey = RipplePage.createGlobalKey();
final effectKey = RippleEffect.createGlobalKey();
@override
Widget build(BuildContext context) {
return RipplePage(
child: Scaffold(
body: Center(),
floatingActionButton: RippleEffect(
pageKey: pageKey,
effectKey: effectKey,
color: Colors.blue,
child: FloatingActionButton(
backgroundColor: Colors.blue,
onPressed: () =>
RippleEffect.start(effectKey, () => toNextPage(context)),
child: Icon(Icons.arrow_back),
),
)
),
);
}
}
의존성 목록 3 개
{"sdk":"flutter"}^0.1.0{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗