Widget.clipRect constructor Null safety

const Widget.clipRect(
  1. {Key? key,
  2. @Default(Clip.hardEdge) Clip clipBehavior,
  3. Widget? child}
)

Implementation

const factory Widget.clipRect({
  Key? key,
  @Default(Clip.hardEdge) Clip clipBehavior,
  Widget? child,
}) = ClipRect;