render method

  1. @override
void render({
  1. Key? key,
  2. BuildContext? context,
  3. Payload? payload,
})
override

Implementation

@override
void render({Key? key, BuildContext? context, Payload? payload}) {
  // if(webView != null) webView!.resizeWatch (key: key, context: context, payload: payload);

  webView = null;
  createWebView(
    key: key,
      payload: payload
  );
  webView?.isWidget = true;
  webView?.payload = payload;

  if(context == null) return;

  Navigator.push(
      context,
      MaterialPageRoute(builder: (context) => BootpayAppPage(webView, 0))
  );
}