YaruClip.diagonal constructor

const YaruClip.diagonal({
  1. Key? key,
  2. Widget? child,
  3. required YaruDiagonalClip position,
})

Clips the child using a diagonal path at the specified position.

Implementation

const factory YaruClip.diagonal({
  Key? key,
  Widget? child,
  required YaruDiagonalClip position,
}) = _YaruDiagonalClip;