confirmButtonBuilder property

Widget Function(VoidCallback onConfirm)? confirmButtonBuilder
final

Builder for custom confirm button. If provided, this will be used instead of the default button. The builder receives a VoidCallback that should be called when the button is pressed. If null, uses the default ElevatedButton.

Implementation

final Widget Function(VoidCallback onConfirm)? confirmButtonBuilder;