v0.0.6wave_transition
一個幫助您創建驚人的波浪過渡效果的 Flutter 套件。
32喜歡 21近 30 天下載150Pub 分數
AndroidiOSWebmacOSWindowsLinux
此 Flutter 套件將提供頁面之間的平滑波浪過渡,無需編寫任何樣板程式碼。
{"sdk":"flutter"}{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
The package will provide smooth wave transitions between pages without having to write any boilerplate code.
example
[Example] (https://github.com/sonykurian96/wave_transition/blob/master/example/lib/main.dart)
To use this package : *add the dependency to your [pubspec.yaml] file
dependencies:
flutter:
sdk: flutter
wave_transition:
onPressed: () {
Navigator.push(
context,
WaveTransition(
child: SecondScreen(),
center: FractionalOffset(0.90, 0.90)
duration: Duration(milliseconds: 3000) // optional
)
);
},
You can pass arguments using RouteSettings ->
settings: RouteSettings(
arguments: "yeah! it works!"
)