Head constructor

const Head({
  1. required EdgeInsetsGeometry? headPadding,
  2. required Color? headBackground,
  3. required Widget? head,
  4. required Widget? body,
  5. required Widget? footer,
  6. Key? key,
  7. bool darkMode = false,
})

Creates a Head widget.

The headPadding, headBackground, head, body, and footer parameters are required. The darkMode parameter is optional and defaults to false.

Implementation

const Head({
  required this.headPadding,
  required this.headBackground,
  required this.head,
  required this.body,
  required this.footer,
  super.key,
  this.darkMode = false,
});