container method
Container
container({
- Key? key,
- EdgeInsetsGeometry? padding,
- Decoration? foregroundDecoration,
- Matrix4? transform,
- BoxConstraints? constraints,
- Color? color,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- Decoration? decoration,
- Clip? clipBehavior,
- AlignmentGeometry? alignment,
Implementation
Container container({
Key? key,
EdgeInsetsGeometry? padding,
Decoration? foregroundDecoration,
Matrix4? transform,
BoxConstraints? constraints,
Color? color,
double? width,
double? height,
EdgeInsetsGeometry? margin,
Decoration? decoration,
Clip? clipBehavior,
AlignmentGeometry? alignment,
}) =>
Container(
key: key,
foregroundDecoration: foregroundDecoration,
clipBehavior: clipBehavior ?? Clip.none,
transform: transform,
constraints: constraints,
alignment: alignment,
color: decoration == null ? color : null,
width: width,
height: height,
padding: padding,
margin: margin,
decoration: decoration,
child: this);