Box.b constructor Null safety

  1. @Deprecated("Use this for debugging purposes only.")
const Box.b(
  1. {Key? key,
  2. bool show = true,
  3. Color? color,
  4. EdgeInsetsGeometry? padding,
  5. double? width,
  6. double? height,
  7. Alignment? alignment,
  8. Widget? child}

Adding .b to the box will make it blue. Use this for debugging purposes only. This constructor is marked as deprecated so that you don't forget to remove it.


@Deprecated("Use this for debugging purposes only.")
const Box.b({
  Key? key,
  bool show = true,
  // ignore: avoid_unused_constructor_parameters
  Color? color,
  EdgeInsetsGeometry? padding,
  double? width,
  double? height,
  Alignment? alignment,
  Widget? child,
}) : this(
        key: key,
        show: show,
        padding: padding,
        width: width,
        height: height,
        alignment: alignment,
        child: child,