ClipWidget extension

组件裁剪扩展方法

为任意Widget添加多种裁剪方式的扩展方法

on

Methods

clipPath(Path clip(Size)) ClipPath

Available on Widget, provided by the ClipWidget extension

路径裁剪快捷方法
clipRect({Rect clip(Size)?}) ClipRect

Available on Widget, provided by the ClipWidget extension

矩形裁剪快捷方法
clipRound({Rect clip(Size)?}) ClipOval

Available on Widget, provided by the ClipWidget extension

圆形裁剪快捷方法
clipRRect({RRect clip(Size)?, double borderRadius = 4}) ClipRRect

Available on Widget, provided by the ClipWidget extension

圆角矩形裁剪快捷方法