FResizableRegion constructor
const
FResizableRegion({
- required double initialExtent,
- required ValueWidgetBuilder<
FResizableRegionData> builder, - double? minExtent,
- Widget? child,
- Key? key,
Creates a FResizableRegion.
Implementation
const FResizableRegion({
required this.initialExtent,
required this.builder,
this.minExtent,
this.child,
super.key,
}) : assert(0 < initialExtent, 'The initial extent should be positive, but it is $initialExtent.'),
assert(minExtent == null || 0 < minExtent, 'The min extent should be positive, but it is $minExtent.'),
assert(
minExtent == null || minExtent <= initialExtent,
'The initial extent, $initialExtent is less than the min extent, $minExtent.',
);