Search packages, repositories and app categories

GitHub repositoryraj457036/shrink_sidemenu_flutter

shrink_sidemenu_flutter

A Side Menu plugin for flutter and compatible with liquid ui for flutter

shrink_sidemenu_flutter project cover
Stars
21
Forks
15
Last push (UTC)
Oct 26, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Liquid Shrink Side Menu

A Side Menu plugin for flutter and compatible with liquid ui

Liquid Ui Shrink Side Menu for flutter

Side Menu Types

There are 8 configuration of Liquid shrink side menu

1. SlideNRotate
SlideNRotate
2. SlideNRotate Inverse
SlideNRotate Inverse
3. ShrinkNRotate
ShrikNRotate
4. ShrinkNRotate Inverse
ShrinkNRotate Inverse
5. Slide
Slide
6. Slide Inverse
Slide Inverse
7. ShrinkNSlide
ShrinkNSlide
8. ShrinkNSlide Inverse
ShrinkNSlide

Getting Started

  • Step 1: Add shrink_sidemenu to pubspec.yaml
dependencies:
  flutter:
    sdk: flutter
  liquid_ui: // for extra features

  shrink_sidemenu: // Liquid Shrink Sidemenu is not dependent on liquid
  • Step 2: Wrap Scaffold with SideMenu

final GlobalKey<SideMenuState> _sideMenuKey = GlobalKey<SideMenuState>();

SideMenu(
    key: _sideMenuKey,
    menu: buildMenu(),
    type: SideMenuType.slideNRotate, // check above images
    child: Scaffold(
        appBar: AppBar(
            leading: IconButton(
              icon: Icon(Icons.menu),
              onPressed: () {
                final _state = _sideMenuKey.currentState;
                if (_state.isOpened)
                  _state.closeSideMenu(); // close side menu
                else
                  _state.openSideMenu();// open side menu
              },
            ),
        ...
    ),
);

About liquid ui for flutter

Liquid is an open source UI toolkit for developing cross platform apps in Flutter. Quickly create apps for Android, IOS, Web or Desktop with our powerful grid system, text processor, forms, extensive prebuilt components and dozens of utilities. Visit: Liquid For Flutter

Author

Raj Singh

Raj Singh GitHub avatar
GitHub author

Raj Singh ↗

Check out my pens 👇 https://codepen.io/raj457036

@CaleidaFaridabad, Haryana, India
LanguagesDartKotlinHTMLSwiftRubyObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗