SnakeShape constructor

const SnakeShape({
  1. required ShapeBorder? shape,
  2. bool? centered = true,
  3. EdgeInsets padding = EdgeInsets.zero,
  4. double? height,
})

Implementation

const SnakeShape({
  required this.shape,
  this.centered = true,
  this.padding = EdgeInsets.zero,
  this.height,
}) : type = SnakeShapeType.custom;