forceMaterialTransparency property

bool forceMaterialTransparency
final

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.

Implementation

final bool forceMaterialTransparency;