debugContainer method

Widget debugContainer([
  1. Color color = Colors.red
])

Implementation

Widget debugContainer([Color color = Colors.red]) {
  if (!kDebugContainerVisible) {
    return this;
  }
  return Container(
    color: color,
    child: this,
  );
}