builder property
Builder function that creates the modal content widget
This function is called each time the modal is shown, ensuring that hot reload works correctly during development.
If null, a default template is shown (Modal.bottomSheetTemplate).
Example:
ModalBuilder(
builder: () => MyContentWidget(),
child: MyButton(),
)
Implementation
final ModalWidgetBuilder? builder;