FleetContainer constructor
FleetContainer({
- Key? key,
- AlignmentGeometry? alignment,
- EdgeInsetsGeometry? padding,
- Color? color,
- Decoration? decoration,
- Decoration? foregroundDecoration,
- EdgeInsetsGeometry? margin,
- Matrix4? transform,
- AlignmentGeometry? transformAlignment,
- double? width,
- double? height,
- BoxConstraints? constraints,
- Clip clipBehavior = Clip.none,
- Widget? child,
Corresponding constructor to Container.
Implementation
FleetContainer({
super.key,
this.alignment,
this.padding,
this.color,
this.decoration,
this.foregroundDecoration,
this.margin,
this.transform,
this.transformAlignment,
double? width,
double? height,
BoxConstraints? constraints,
this.clipBehavior = Clip.none,
this.child,
}) : constraints = (width != null || height != null)
? constraints?.tighten(width: width, height: height) ??
BoxConstraints.tightFor(width: width, height: height)
: constraints;