phlox_drawer 1.0.0 copy "phlox_drawer: ^1.0.0" to clipboard
phlox_drawer: ^1.0.0 copied to clipboard

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

📱 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

4
likes
120
pub points
12%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on phlox_drawer