MaterialShapeBorder constructor
const
MaterialShapeBorder({
- required RoundedPolygon shape,
- BorderSide side = BorderSide.none,
- double squash = 0,
Creates a MaterialShapeBorder.
Implementation
const MaterialShapeBorder({required this.shape, super.side, this.squash = 0})
: assert(squash >= 0 && squash <= 1, 'squash has to be in range [0, 1]');