quytm2239 / SideMenuDownSide

A customized Flutter Drawer
GNU General Public License v3.0
13 stars 4 forks source link
dart drawer drawer-navigation flutter sidemenu

SideMenuDownSide

This project is about a Customized Flutter Drawer

Table of contents

How it work

alt text

Structure

This project is created with Dart and Flutter 1.25.0-4.0.pre.

Class SideMenuDownSide is container of SideMenuContent.

How to use

⚠️⚠️⚠️ Outdated, will be updated soon! But I already added comment for each important block of codes.

class NavigationCenter { BuildContext appContext; BuildContext currentContext; StatefulWidget currentScreen;

void navigate(Widget newScreen, [bool fromAppContext = false]) { if (currentContext == null) return; Navigator.push( fromAppContext ? appContext : (currentContext ?? appContext), // MaterialPageRoute(builder: (context) => newScreen), // (1) - Slide Upward CupertinoPageRoute(builder: (context) => newScreen)); // (2) - Push Left } ... }



## Contribution
If you have anything to upgrade this project, feel free to contact me via email: `quytm2239@gmail.com` or skype: `tranquy239`.

Thank you!