container method

Container container({
  1. Key? key,
  2. AlignmentGeometry? align,
  3. EdgeInsetsGeometry? pad,
  4. Color? color,
  5. Decoration? decoration,
  6. Decoration? fgDecoration,
  7. double? w,
  8. double? h,
  9. BoxConstraints? constraints,
  10. EdgeInsetsGeometry? margin,
  11. Matrix4? transform,
  12. AlignmentGeometry? transformAlign,
  13. Clip clip = Clip.none,
})

see Container

Implementation

Container container({
  Key? key,
  AlignmentGeometry? align,
  EdgeInsetsGeometry? pad,
  Color? color,
  Decoration? decoration,
  Decoration? fgDecoration,
  double? w,
  double? h,
  BoxConstraints? constraints,
  EdgeInsetsGeometry? margin,
  Matrix4? transform,
  AlignmentGeometry? transformAlign,
  Clip clip = Clip.none,
}) =>
    Container(
      key: key,
      alignment: align,
      padding: pad,
      color: color,
      decoration: decoration,
      foregroundDecoration: fgDecoration,
      width: w,
      height: h,
      constraints: constraints,
      margin: margin,
      transform: transform,
      transformAlignment: transformAlign,
      clipBehavior: clip,
      child: this,
    );