簡單的抖動動畫 widget,在輸入框的錯誤提示或是吸引使用者注意的時候蠻方便的一個 widget
安裝方式
pubspec.yaml 下面加入
1 | dependencies: |
記得輸入完要 pub get 安裝過
使用方式
- shake animation
1 | Center( |
- shake text animation
1 | ShakeTextAnimationWidget( |
- bottom round flow menu
1 | BottomRoundFlowMenu( |
- animated status button
1 | AnimatedStatusButton( |
- rote flow button menu
1 | RoteFlowButtonMenu( |
- draggable floating action button
1 | final GlobalKey _parentKey = GlobalKey(); |