CenterContainer constructor

CenterContainer({
  1. Key? key,
  2. Key? containerKey,
  3. AlignmentGeometry? alignment,
  4. EdgeInsetsGeometry? padding,
  5. Color? color,
  6. Decoration? decoration,
  7. Decoration? foregroundDecoration,
  8. double? width,
  9. double? height,
  10. BoxConstraints? constraints,
  11. EdgeInsetsGeometry? margin,
  12. Matrix4? transform,
  13. AlignmentGeometry? transformAlignment,
  14. Widget? child,
  15. Clip clipBehavior = Clip.none,
})

Implementation

CenterContainer({
  Key? key,
  Key? containerKey,
  AlignmentGeometry? alignment,
  EdgeInsetsGeometry? padding,
  Color? color,
  Decoration? decoration,
  Decoration? foregroundDecoration,
  double? width,
  double? height,
  BoxConstraints? constraints,
  EdgeInsetsGeometry? margin,
  Matrix4? transform,
  AlignmentGeometry? transformAlignment,
  Widget? child,
  Clip clipBehavior = Clip.none,
}) : super(
        key: key,
        child: Container(
          key: containerKey,
          alignment: alignment,
          child: child,
          clipBehavior: clipBehavior,
          color: color,
          constraints: constraints,
          decoration: decoration,
          foregroundDecoration: foregroundDecoration,
          height: height,
          margin: margin,
          padding: padding,
          transform: transform,
          transformAlignment: transformAlignment,
          width: width,
        ),
      );