surfaceTintColor property

Color? surfaceTintColor
final

A custom color for the Material 3 surface-tint elevation effect.

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 property is null, then BottomAppBarTheme.surfaceTintColor of ThemeData.bottomAppBarTheme is used. If that is also null, the default value is Colors.transparent.

Ignored if ThemeData.useMaterial3 is false.

See Material.surfaceTintColor for more details on how this overlay is applied.

Implementation

final Color? surfaceTintColor;