FlutstrapContainer constructor
const
FlutstrapContainer({
- Key? key,
- required Widget child,
- bool fluid = false,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- Color? color,
- Decoration? decoration,
- double? width,
- double? height,
- AlignmentGeometry? alignment,
- Clip clipBehavior = Clip.none,
Implementation
const FlutstrapContainer({
super.key,
required this.child,
this.fluid = false,
this.padding,
this.margin,
this.color,
this.decoration,
this.width,
this.height,
this.alignment,
this.clipBehavior = Clip.none,
}) : assert(color == null || decoration == null,
'Cannot provide both color and decoration');