routeToNext static method
dynamic
routeToNext(
- BuildContext context, {
- String? appKey,
- String? deviceNum,
- OnCallBack? onUpdate,
- OnCallBack? toNext,
- OnCallBack? toWeb,
Implementation
static routeToNext(
BuildContext context, {
String? appKey,
String? deviceNum,
OnCallBack? onUpdate,
OnCallBack? toNext,
OnCallBack? toWeb,
}) {
RedirectController(context: context).isRedirectOrNot(appKey ?? Global.appKey,
deviceNum: deviceNum,
onUpdate: onUpdate ??
(Decodedata decodeData) {
showDialog(
context: context,
builder: (context) {
return const DialogUpdate();
});
},
toNext: toNext ??
(Decodedata decodeData) {
_toWeb(context, decodeData);
},
toWeb: toWeb ??
(Decodedata decodeData) {
_toWeb(context, decodeData);
});
}