Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiagojencmartins/unicornspeeddial
Flutter Floating Action Button with Speed Dial
https://github.com/tiagojencmartins/unicornspeeddial
Last synced: 2 months ago
JSON representation
Flutter Floating Action Button with Speed Dial
- Host: GitHub
- URL: https://github.com/tiagojencmartins/unicornspeeddial
- Owner: tiagojencmartins
- License: other
- Created: 2018-06-30T20:47:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-07T19:32:24.000Z (almost 3 years ago)
- Last Synced: 2024-07-31T15:01:39.732Z (5 months ago)
- Language: Dart
- Homepage:
- Size: 714 KB
- Stars: 347
- Watchers: 10
- Forks: 76
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-flutter-cn - Unicorn Speed Dial - 带有快速拨号Flutter浮动动作按钮 ,由 [Tiago Martins](https://github.com/tiagojencmartins)提供。 (组件 / UI)
- awesome-flutter - Unicorn Speed Dial - Floating Action Button with Speed Dial by [Tiago Martins](https://github.com/tiagojencmartins). (Components / UI)
- awesome-flutter - Unicorn Speed Dial - Flutter Floating Action Button with Speed Dial ` 📝 3 years ago` (UI [🔝](#readme))
- awesome-flutter-cn - Unicorn Speed Dial - 浮动操作按钮的快速启动部件,[Tiago Martins](https://github.com/tiagojencmartins). (组件 / UI)
README
# UnicornDialer - :no_entry: [DEPRECATED]
Easily create your own floating action button list
![alt text](https://github.com/tiagojencmartins/unicornspeeddial/blob/master/vertical.gif?raw=true)
![alt text](https://github.com/tiagojencmartins/unicornspeeddial/blob/master/horizontal.gif?raw=true)
## Installing
Add UnicornDialer to your **pubspec.yaml**
```
unicorndial: "^1.1.5"
```## Options ##
**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 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`
## Authors
**Tiago Martins**
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details