A callback function that can be used to update the UI from custom widgets.
final Function? onUpdateUI;