FloatSlot constructor

const FloatSlot({
  1. Key? key,
  2. FloatSide float = FloatSide.none,
  3. FloatClear clear = FloatClear.none,
  4. bool bfc = false,
  5. double? width,
  6. double? widthFraction,
  7. FloatWidth? widthKeyword,
  8. FloatWidth? minWidthKeyword,
  9. double? height,
  10. double? heightFraction,
  11. double? minWidth,
  12. double? maxWidth,
  13. double? minHeight,
  14. double? maxHeight,
  15. double? minWidthFraction,
  16. double? maxWidthFraction,
  17. double? minHeightFraction,
  18. double? maxHeightFraction,
  19. double? maxWidthOther,
  20. double? maxWidthOtherFraction,
  21. EdgeInsets margin = EdgeInsets.zero,
  22. EdgeInsets marginShare = EdgeInsets.zero,
  23. bool autoLeft = false,
  24. bool autoRight = false,
  25. bool contentBox = false,
  26. EdgeInsets frame = EdgeInsets.zero,
  27. EdgeInsets frameShare = EdgeInsets.zero,
  28. bool onLine = false,
  29. bool lifted = false,
  30. required Widget child,
})

Implementation

const FloatSlot({
  super.key,
  this.float = FloatSide.none,
  this.clear = FloatClear.none,
  this.bfc = false,
  this.width,
  this.widthFraction,
  this.widthKeyword,
  this.minWidthKeyword,
  this.height,
  this.heightFraction,
  this.minWidth,
  this.maxWidth,
  this.minHeight,
  this.maxHeight,
  this.minWidthFraction,
  this.maxWidthFraction,
  this.minHeightFraction,
  this.maxHeightFraction,
  this.maxWidthOther,
  this.maxWidthOtherFraction,
  this.margin = EdgeInsets.zero,
  this.marginShare = EdgeInsets.zero,
  this.autoLeft = false,
  this.autoRight = false,
  this.contentBox = false,
  this.frame = EdgeInsets.zero,
  this.frameShare = EdgeInsets.zero,
  this.onLine = false,
  this.lifted = false,
  required super.child,
});