forceMaterialTransparency property

bool forceMaterialTransparency

Forces the AppBar's Material widget type to be MaterialType.transparency (instead of Material's default type).

This will remove the visual display of backgroundColor and elevation, and affect other characteristics of the AppBar's Material widget.

Provided for cases where the app bar is to be transparent, and gestures must pass through the app bar to widgets beneath the app bar (i.e. with Scaffold.extendBodyBehindAppBar set to true).

Defaults to false.

This property is used to configure an AppBar.


final bool forceMaterialTransparency;