unicorndial
轻松使用水平或垂直浮动按钮列表创建您的浮动菜单
带有速度拨号的 Flutter 浮动操作按钮
以下为英文项目原文快照,最新内容请访问 GitHub。
Easily create your own floating action button list


Add UnicornDialer to your pubspec.yaml
unicorndial: "^1.1.5"
UnicornDialer class
int orientation - Vertical or horizontal floating button list
Object parentHeroTag - Main FAB hero tag
Color backgroundColor - Modal background color
Icon parentButton - Starting Icon
Icon finalButtonIcon - Ending Icon (after animation is complete)
bool hasBackground - Background modal is set
Color parentButtonBackground - The main floating button background color
List<UnicornButton> childButtons Floating button list
int animationDuration Rotation and expanding animation duration (in milliseconds)
double childPadding - Right padding on the button label
Function onMainButtonPressed - To be called if set on the UnicornDialer parent widget
bool hasNotch - BottomAppBar support
UnicornButton class
FloatingActionButton currentButton - Floating list button
String labelText
double labelFontSize
Color labelColor
Color labelBackgroundColor
Color labelShadowColor - Label container shadow
bool labelHasShadow
bool hasLabel
Tiago Martins
This project is licensed under the MIT License - see the LICENSE.md file for details
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗