Diagonal constructor

const Diagonal({
  1. required List<Widget> children,
  2. DiagonalDirection direction = DiagonalDirection.bottomRight,
  3. DiagonalSize size = DiagonalSize.min,
  4. Key? key,
})

Implementation

const Diagonal({
  required this.children,
  this.direction = DiagonalDirection.bottomRight,
  this.size = DiagonalSize.min,
  Key? key,
}) : super(key: key);