const
Widget.container(- {Key? key,
- Alignment? alignment,
- EdgeInsets? padding,
- Color? color,
- Decoration? decoration,
- Decoration? foregroundDecoration,
- double? width,
- double? height,
- BoxConstraints? constraints,
- EdgeInsets? margin,
- @matrixConverter Matrix4? transform,
- Alignment? transformAlignment,
- Widget? child,
- @Default(Clip.none) Clip clipBehavior}
)
Implementation
const factory Widget.container({
Key? key,
Alignment? alignment,
EdgeInsets? padding,
Color? color,
Decoration? decoration,
Decoration? foregroundDecoration,
double? width,
double? height,
BoxConstraints? constraints,
EdgeInsets? margin,
@matrixConverter Matrix4? transform,
Alignment? transformAlignment,
Widget? child,
@Default(Clip.none) Clip clipBehavior,
}) = Container;