Skip to content

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

License

Notifications You must be signed in to change notification settings

PhloxCompany/phlox_drawer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📱 Phlox Drawer package

flutter drawer pub get package version flutter drawer phlox company

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

  • Animate multiple properties at once

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published