FlutstrapCol constructor
const
FlutstrapCol({
- Key? key,
- required Widget child,
- FSColSize size = const FSColSize(),
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- AlignmentGeometry? alignment,
- Color? color,
- Decoration? decoration,
- bool flexible = false,
Implementation
const FlutstrapCol({
super.key,
required this.child,
this.size = const FSColSize(),
this.padding,
this.margin,
this.alignment,
this.color,
this.decoration,
this.flexible = false, // FIX: Default to non-flexible (uses Expanded)
}) : assert(color == null || decoration == null,
'Cannot provide both color and decoration');