show static method
Implementation
static Future<void> show(BuildContext context) async {
try {
if (_currentHud != null) {
_currentHud!.navigator!.pop();
}
CupertinoHeadUpLoading hud = CupertinoHeadUpLoading();
_currentHud = hud;
Navigator.push(context, hud);
} catch (e) {
_currentHud = null;
}
}