LayoutFooter constructor

LayoutFooter(
  1. Widget child, {
  2. int? flexUnits,
  3. Key? key,
})

Constructs a LayoutFooter widget.

child is the widget to be displayed in the footer section.

flexUnits is the number of flex units assigned to the footer section. If not provided, the default flex units for the footer section is used.

Implementation

LayoutFooter(
  this.child, {
  int? flexUnits,
  super.key,
}) : layoutFlexUnits = flexUnits ?? LayoutFlexUnits.footer.flexUnits;