Floatable constructor
const
Floatable({
- Key? key,
- FCFloat float = FCFloat.none,
- FCClear clear = FCClear.none,
- double clearMinSpacing = 0.0,
- EdgeInsetsGeometry margin = EdgeInsets.zero,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- double maxWidthPercentage = 1.0,
- required Widget child,
Creates and returns a new floatable widget.
Implementation
const Floatable({
super.key,
this.float = FCFloat.none,
this.clear = FCClear.none,
this.clearMinSpacing = 0.0,
this.margin = EdgeInsets.zero,
this.padding = EdgeInsets.zero,
this.maxWidthPercentage = 1.0,
required this.child,
});