setLoadingsMethodCall method

void setLoadingsMethodCall({
  1. required BuildContext context,
})

设置loadings回调

Implementation

void setLoadingsMethodCall({required BuildContext context}) {
  CloudChannelManager.instance.channel?.setMethodCallHandler((call) {
    _nativeLoadingsHandler(call, context);
    return Future.value();
  });
}