BuildFooter constructor

const BuildFooter({
  1. Key? key,
  2. void confirmActionOnPressed()?,
  3. void cancelActionOnPressed()?,
  4. EdgeInsetsGeometry? padding,
  5. required String confirmActionText,
  6. required String cancelActionText,
})

Creates a BuildFooter widget.

The confirmActionOnPressed and cancelActionOnPressed are optional callbacks that will be invoked when the corresponding buttons are pressed.

The confirmActionText and cancelActionText are the texts displayed on the buttons.

The padding is the amount of space to surround the footer section.

Implementation

const BuildFooter({
  super.key,
  this.confirmActionOnPressed,
  this.cancelActionOnPressed,
  this.padding,
  required this.confirmActionText,
  required this.cancelActionText,
});