Floatable constructor

const Floatable({
  1. Key? key,
  2. FCFloat float = FCFloat.none,
  3. FCClear clear = FCClear.none,
  4. double clearMinSpacing = 0.0,
  5. EdgeInsetsGeometry margin = EdgeInsets.zero,
  6. EdgeInsetsGeometry padding = EdgeInsets.zero,
  7. double maxWidthPercentage = 1.0,
  8. 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,
});