Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mejdi14/flutter-foldable-menu

https://pub.dev/packages/flutter_foldable_menu
https://github.com/mejdi14/flutter-foldable-menu

animation flutter foldable hacktoberfest menu

Last synced: 3 months ago
JSON representation

https://pub.dev/packages/flutter_foldable_menu

Awesome Lists containing this project

README

        

Welcome to flutter foldable menu πŸ‘‹




License: MIT





gitmoji-changelog





## :art:Credits
- Many thanks to : [@ThomΓ©lie ISTACE](https://dribbble.com/shots/3971202-Info-navigation) for the amazing design

## ✨ Demo






## How to use
```
//create your menu items
List myCards = [
FoldableCell(color: Colors.yellow, label: 'close', icon: Icon(Icons.close)),
FoldableCell(
color: Colors.orange,
label: 'take photo',
icon: Icon(Icons.camera_alt)),
FoldableCell(
color: Colors.green,
label: 'share',
textColor: Colors.black,
icon: Icon(Icons.share)),
FoldableCell(color: Colors.purple, label: 'settings', icon: Icon(Icons.settings)),
FoldableCell(
color: Colors.blue,
label: 'verification',
icon: Icon(Icons.verified_user_rounded)),
FoldableCell(color: Colors.red, label: 'profile', icon: Icon(Icons.person))
];

// show your menu
Navigator.of(context).push(PageRouteBuilder(
opaque: false,
pageBuilder: (BuildContext context, _, __) =>
FoldableMenu(
myCards: myCards,
side: MenuSide.right,
textStyle: TextStyle(
color: Colors.black,
fontSize: 20,
fontWeight: FontWeight.bold),
onCardSelect: (cell, counter) {
print('this is :$cell');
},
)));
```

## 🀝 Contributing

Contributions, issues and feature requests are welcome.

Feel free to check [issues page] if you want to contribute.

## Author

πŸ‘€ **Mejdi Hafiane**

- Twitter: [@MejdiHafiane](https://twitter.com/mejdi141)

## Show your support

Please ⭐️ this repository if this project helped you!

## πŸ“ License

Copyright 2021 Mejdi hafiane

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF