ShowMaterialBannerCallback class Null safety

Implemented types

Constructors

ShowMaterialBannerCallback(MaterialBanner materialBanner)
const
factory
ShowMaterialBannerCallback.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$ShowMaterialBannerCallbackCopyWith<_$ShowMaterialBannerCallback>
@JsonKey(ignore: true), read-only
hashCode int
The hash code for this object.
read-only, inherited
materialBanner MaterialBanner
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

map<TResult extends Object?>({required TResult intSelection(IntSelectionCallback value), required TResult boolSelection(BoolSelectionCallback value), required TResult navigatorPushNamed(NavigationPushNamedCallback value), required TResult navigatorPop(NavigationPopCallback value), required TResult launchUrl(UrlCallback value), required TResult copyClipboard(CopyClipboardCallback value), required TResult networkRequest(HttpRequestCallback value), required TResult showSnackBar(ShowSnackBarCallback value), required TResult hideCurrentSnackBar(HideCurrentSnackBarCallback value), required TResult removeCurrentSnackBar(RemoveCurrentSnackBarCallback value), required TResult clearMaterialBanners(ClearMaterialBannersCallback value), required TResult hideCurrentMaterialBanner(HideCurrentMaterialBannerCallback value), required TResult removeCurrentMaterialBanner(RemoveCurrentMaterialBannerCallback value), required TResult showMaterialBanner(ShowMaterialBannerCallback value), required TResult empty(EmptyCallback value), required TResult reload(ReloadCallback value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>({TResult? intSelection(IntSelectionCallback value)?, TResult? boolSelection(BoolSelectionCallback value)?, TResult? navigatorPushNamed(NavigationPushNamedCallback value)?, TResult? navigatorPop(NavigationPopCallback value)?, TResult? launchUrl(UrlCallback value)?, TResult? copyClipboard(CopyClipboardCallback value)?, TResult? networkRequest(HttpRequestCallback value)?, TResult? showSnackBar(ShowSnackBarCallback value)?, TResult? hideCurrentSnackBar(HideCurrentSnackBarCallback value)?, TResult? removeCurrentSnackBar(RemoveCurrentSnackBarCallback value)?, TResult? clearMaterialBanners(ClearMaterialBannersCallback value)?, TResult? hideCurrentMaterialBanner(HideCurrentMaterialBannerCallback value)?, TResult? removeCurrentMaterialBanner(RemoveCurrentMaterialBannerCallback value)?, TResult? showMaterialBanner(ShowMaterialBannerCallback value)?, TResult? empty(EmptyCallback value)?, TResult? reload(ReloadCallback value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>({TResult intSelection(IntSelectionCallback value)?, TResult boolSelection(BoolSelectionCallback value)?, TResult navigatorPushNamed(NavigationPushNamedCallback value)?, TResult navigatorPop(NavigationPopCallback value)?, TResult launchUrl(UrlCallback value)?, TResult copyClipboard(CopyClipboardCallback value)?, TResult networkRequest(HttpRequestCallback value)?, TResult showSnackBar(ShowSnackBarCallback value)?, TResult hideCurrentSnackBar(HideCurrentSnackBarCallback value)?, TResult removeCurrentSnackBar(RemoveCurrentSnackBarCallback value)?, TResult clearMaterialBanners(ClearMaterialBannersCallback value)?, TResult hideCurrentMaterialBanner(HideCurrentMaterialBannerCallback value)?, TResult removeCurrentMaterialBanner(RemoveCurrentMaterialBannerCallback value)?, TResult showMaterialBanner(ShowMaterialBannerCallback value)?, TResult empty(EmptyCallback value)?, TResult reload(ReloadCallback value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>({TResult intSelection(Map<String, Callback> values)?, TResult boolSelection(Callback trueCallback, Callback falseCallback)?, TResult navigatorPushNamed(String value, Map<String, String>? arguments)?, TResult navigatorPop(Object? value)?, TResult launchUrl(String url, String? path, Map<String, String>? params)?, TResult copyClipboard(String text, Callback? callback)?, TResult networkRequest(NetworkRequest request, Callback? callback)?, TResult showSnackBar(SnackBar snackBar)?, TResult hideCurrentSnackBar(SnackBarClosedReason reason)?, TResult removeCurrentSnackBar(SnackBarClosedReason reason)?, TResult clearMaterialBanners()?, TResult hideCurrentMaterialBanner(MaterialBannerClosedReason reason)?, TResult removeCurrentMaterialBanner(MaterialBannerClosedReason reason)?, TResult showMaterialBanner(MaterialBanner materialBanner)?, TResult empty()?, TResult reload()?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult intSelection(Map<String, Callback> values), required TResult boolSelection(Callback trueCallback, Callback falseCallback), required TResult navigatorPushNamed(String value, Map<String, String>? arguments), required TResult navigatorPop(Object? value), required TResult launchUrl(String url, String? path, Map<String, String>? params), required TResult copyClipboard(String text, Callback? callback), required TResult networkRequest(NetworkRequest request, Callback? callback), required TResult showSnackBar(SnackBar snackBar), required TResult hideCurrentSnackBar(SnackBarClosedReason reason), required TResult removeCurrentSnackBar(SnackBarClosedReason reason), required TResult clearMaterialBanners(), required TResult hideCurrentMaterialBanner(MaterialBannerClosedReason reason), required TResult removeCurrentMaterialBanner(MaterialBannerClosedReason reason), required TResult showMaterialBanner(MaterialBanner materialBanner), required TResult empty(), required TResult reload()}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>({TResult? intSelection(Map<String, Callback> values)?, TResult? boolSelection(Callback trueCallback, Callback falseCallback)?, TResult? navigatorPushNamed(String value, Map<String, String>? arguments)?, TResult? navigatorPop(Object? value)?, TResult? launchUrl(String url, String? path, Map<String, String>? params)?, TResult? copyClipboard(String text, Callback? callback)?, TResult? networkRequest(NetworkRequest request, Callback? callback)?, TResult? showSnackBar(SnackBar snackBar)?, TResult? hideCurrentSnackBar(SnackBarClosedReason reason)?, TResult? removeCurrentSnackBar(SnackBarClosedReason reason)?, TResult? clearMaterialBanners()?, TResult? hideCurrentMaterialBanner(MaterialBannerClosedReason reason)?, TResult? removeCurrentMaterialBanner(MaterialBannerClosedReason reason)?, TResult? showMaterialBanner(MaterialBanner materialBanner)?, TResult? empty()?, TResult? reload()?}) → TResult?
@optionalTypeArgs, inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited