Change the black background in flutter_zoom_drawer package?

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


>Solution :

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

ZoomDrawer(menuBackgroundColor: <your color>);

Example:

ZoomDrawer(menuBackgroundColor: Colors.red);

Leave a Reply