surfaceTintColor property

Color? surfaceTintColor
final

The surface tint of the Material that holds the NavigationDrawer's contents.

This is not recommended for use. Material 3 spec introduced a set of tone-based surfaces and surface containers in its ColorScheme, which provide more flexibility. The intention is to eventually remove surface tint color from the framework.

If this is null, then NavigationDrawerThemeData.surfaceTintColor is used. If that is also null, the default value is Colors.transparent.

Implementation

final Color? surfaceTintColor;