Body constructor
const
Body({})
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,
});