Body constructor

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

Creates a Body widget.

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

Implementation

const Body({
  required this.bodyPadding,
  required this.head,
  required this.footer,
  required this.bodyBackground,
  required this.body,
  super.key,
  this.darkMode = false,
});