GBAppNotificationProvider constructor
const
GBAppNotificationProvider({
- Key? key,
- required Widget child,
- AppNotificationBloc? notificationBloc,
- NotificationFetchParamBuilderWithContext? fetchParamBuilder,
Implementation
const GBAppNotificationProvider({
Key? key,
required this.child,
this.notificationBloc,
this.fetchParamBuilder,
}) : assert(
notificationBloc == null || fetchParamBuilder == null,
"You cannot define 'notificationBloc' & 'fetchParamBuilder' at the same time",
),
super(key: key);