show method

Future<void> show()

Implementation

Future<void> show() async {
  final result = BHP().getBool(UConst.privacy);
  if (result ?? false) {
    onConsentTap?.call();
  } else {
    await popupDialog(
        options: const DialogOptions(fromStyle: PopupFromStyle.fromCenter));
  }
}