BuildFooter constructor
const
BuildFooter({
- Key? key,
- void confirmActionOnPressed()?,
- void cancelActionOnPressed()?,
- EdgeInsetsGeometry? padding,
- required String confirmActionText,
- 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,
});