AlertWatcher constructor
const
AlertWatcher({
- required Widget child,
- required Widget alertDialogBuilder(
- BuildContext context,
- AlertInfo info
- Key? key,
Automatically handles alerts from the stream of AlertBloc
Implementation
const AlertWatcher({
required this.child,
required this.alertDialogBuilder,
super.key,
});