ShapeOutside constructor
ShapeOutside({})
Implementation
ShapeOutside({
this.edge = ShapeEdge.top,
required this.extent,
this.gap = 0,
this.textHeightSlot,
required this.child,
}) {
if (!extent.isFinite ||
extent < 0 ||
(extent == 0 && textHeightSlot == null) ||
!gap.isFinite ||
gap < 0 ||
(textHeightSlot?.trim().isEmpty ?? false)) {
throw ArgumentError('An outside band needs a positive extent');
}
}