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.

定义顶部工作表的 Material.clipBehavior

使用此属性可在顶部工作表具有自定义 shape,内容可以延伸到此形状之外。例如带有圆角的顶部工作表和 图像返回页首。

如果此属性为 null,则 BottomSheetThemeData.clipBehavior 的使用 ThemeData.bottomSheetTheme。如果为 null,则行为将是 Clip.none

Implementation

final Clip? clipBehavior;