clipBehavior property
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。
当顶部工作表具有自定义 Material 并且内容可以延伸到此形状之外时,使用此属性可以启用内容剪裁。 例如,具有圆角的顶部工作表和顶部的边缘到边缘 Image。
如果此属性为 null,则使用 ThemeData.bottomSheetTheme 的 BottomSheetThemeData.clipBehavior。如果为 null,则行为默认为 Clip.none 将为 Clip.none。
Implementation
final Clip? clipBehavior;