flutter_foldable_menu 1.0.6 copy "flutter_foldable_menu: ^1.0.6" to clipboard
flutter_foldable_menu: ^1.0.6 copied to clipboard

A flutter package for animated menu

Welcome to flutter foldable menu 👋

License: MIT gitmoji-changelog

🎨Credits #

✨ Demo #

How to use #

//create your menu items
List<FoldableCell> 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

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

7
likes
90
pub points
0%
popularity

Publisher

unverified uploader

A flutter package for animated menu

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_foldable_menu