📱 Phlox Drawer package

flutter drawer pub get package version flutter drawer phlox company

Phlox Drawer is a simple package to create beautiful custom drawer .

  • Customizable, fast and beautiful drawer in flutter. you can edit your drawer in phlox_drawer package

Images

options PhloxDrawerOption.oneScreen() PhloxDrawerOption.twoScreen() PhloxDrawerOption.threeScreen()
gif flutter drawer flutter drawer flutter drawer
codes (example1) (example2) (example3)

Getting started

  • add package
dependencies:
  phlox_drawer: ^1.0.0
flutter pub get
flutter pub upgrade

Usage

check /example folder.

example 1

image :

flutter drawer

class _MyHomePageState extends State<MyHomePage> {
  PhloxDrawerController controller = PhloxDrawerController();

  @override
  Widget build(BuildContext context) {
    return PhloxDrawer(
      context: context,
      controller: controller,
      options: PhloxDrawerOption.oneScreen(),
      duration: Duration(seconds: 1),
      drawerPage: Scaffold(),
      mainPage: Scaffold(),
    );
  }
}

example 2

image :

flutter drawer

class _MyHomePageState extends State<MyHomePage> {
  PhloxDrawerController controller = PhloxDrawerController();

  @override
  Widget build(BuildContext context) {
    return PhloxDrawer(
      context: context,
      controller: controller,
      options: PhloxDrawerOption.twoScreen(),
      duration: Duration(seconds: 1),
      drawerPage: Scaffold(),
      mainPage: Scaffold(),
    );
  }
}

example 3

image :

flutter drawer

class _MyHomePageState extends State<MyHomePage> {
  PhloxDrawerController controller = PhloxDrawerController();

  @override
  Widget build(BuildContext context) {
    return PhloxDrawer(
      context: context,
      controller: controller,
      options: PhloxDrawerOption.threeScreen(),
      duration: Duration(seconds: 1),
      drawerPage: Scaffold(),
      mainPage: Scaffold(),
    );
  }
}

Additional information

Just add two Widget inside PhloxDrawer and control with PhloxDrawerController