ResponseWindow constructor Null safety

const ResponseWindow(
  1. {required int flex,
  2. Color backgroundColor = Colors.white,
  3. Color textColor = Colors.black,
  4. double fontSize = 14.0,
  5. Key? key}
)

Implementation

const ResponseWindow({
  required this.flex,
  this.backgroundColor = Colors.white,
  this.textColor = Colors.black,
  this.fontSize = 14.0,
  Key? key,
}) : super(key: key);