clipBehavior property

Clip? clipBehavior
final

The content will be clipped (or not) according to this option.

See the enum Clip for details of all possible options and their common use cases.

Defines the bottom sheet's Material.clipBehavior.

Use this property to enable clipping of content when the bottom sheet has a custom shape and the content can extend past this shape. For example, a bottom sheet with rounded corners and an edge-to-edge Image at the top.

If this property is null, the BottomSheetThemeData.clipBehavior of ThemeData.bottomSheetTheme is used. If that's null, the behavior defaults to Clip.none will be Clip.none.

Implementation

final Clip? clipBehavior;