backgroundColor property

Color? backgroundColor
final

The background color of the destination.

If this is null, no background is set and NavigationDrawer.backgroundColor will be visible.

This is the background color of the whole rectangular area behind the drawer destination. To customize only the indicator color consider using NavigationDrawer.indicatorColor.

Implementation

final Color? backgroundColor;