Header constructor

const Header({
  1. Key? key,
  2. required Props props,
  3. Function? closeAction,
  4. required Color textColor,
})

Implementation

const Header({
  Key? key,
  required this.props,
  this.closeAction,
  required this.textColor,
}) : super(key: key);