Constructors
-
Callback.boolSelection({required Callback trueCallback, required Callback falseCallback})
-
const
factory
-
Callback.clearMaterialBanners()
-
const
factory
-
Callback.copyClipboard(String text, {Callback? callback})
-
const
factory
-
Callback.empty()
-
const
factory
-
Callback.fromJson(Map<String, Object?> json)
-
factory
-
Callback.hideCurrentMaterialBanner({@Default(MaterialBannerClosedReason.hide) MaterialBannerClosedReason reason})
-
const
factory
-
Callback.hideCurrentSnackBar({@Default(SnackBarClosedReason.hide) SnackBarClosedReason reason})
-
const
factory
-
Callback.intSelection({required Map<String, Callback> values})
-
const
factory
-
Callback.launchUrl(String url, {String? path, Map<String, String>? params})
-
const
factory
-
Callback.navigatorPop({Object? value})
-
const
factory
-
Callback.navigatorPushNamed(String value, {Map<String, String>? arguments})
-
const
factory
-
Callback.networkRequest(NetworkRequest request, {Callback? callback})
-
const
factory
-
Callback.reload()
-
const
factory
-
Callback.removeCurrentMaterialBanner({@Default(MaterialBannerClosedReason.remove) MaterialBannerClosedReason reason})
-
const
factory
-
Callback.removeCurrentSnackBar({@Default(SnackBarClosedReason.remove) SnackBarClosedReason reason})
-
const
factory
-
Callback.showMaterialBanner(MaterialBanner materialBanner)
-
const
factory
-
Callback.showSnackBar(SnackBar snackBar)
-
const
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
read-only, inherited
-
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
-
-
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?
-
-
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
-
-
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
-
-
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
-
-
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?
-