flutter_3d_drawer 0.0.1 copy "flutter_3d_drawer: ^0.0.1" to clipboard
flutter_3d_drawer: ^0.0.1 copied to clipboard

a Simple 3d Drawer

pub package

a Simple 3d Drawer implementation from Flutter Europe Video

Features #

  • Custom Drawer Widget
  • Custom Child Widget
  • Fluid 3d animation

Demo Video #

Getting started #

Add package to pubspec.yaml

dependencies:
    flutter_3d_drawer: 0.0.1

How to use #

Create controller for control the drawer

DrawerControl drawerControl = DrawerControl();

Control the drawer

//Open drawer from controller
drawerControl.open();

//Close drawer from controller
drawerControl.close();

//Toggle drawer from controller
drawerControl.toggle();

Minimal usage

Flutter3dDrawer(
  controller: drawerControl,
  maxSlide: MediaQuery.of(context).size.width * 0.5,
  body: MyHome(),
  drawer: MyDrawer(),
);