Home > OS >  Change the black background in flutter_zoom_drawer package?
Change the black background in flutter_zoom_drawer package?

Time:11-28

I would like to change the black background that appears on this screenshot. I am using the flutter_zoom_drawer package.

CodePudding user response:

You can set your color to the menuBackgroundColor property of the ZoomDrawer class as:

ZoomDrawer(menuBackgroundColor: <your color>);

Example:

ZoomDrawer(menuBackgroundColor: Colors.red);
  • Related