of static method

void of(
  1. BuildContext context
)

Implementation

static void of(BuildContext context) async {
  assert(!context.owner!.debugBuilding,
      'Method called while building RenderTree.');
  try {
    final m = ShowTutorialsModel.instance;
    m.getScreenDetails(context);
    WidgetsBinding.instance.addPostFrameCallback((timeStamp) async {
      await m.calculateHeightWebView();
      m.getWebViewHeight();
      // m.getToolTipSize();
      // m.getYAxis(
      //     statusBarHeight:
      //         MediaQuery.of(ShowTutorialsModel.context!).viewPadding.top,
      //     index: 0);
      // m.getWebViewHeight();
      // m.calculateHeightWebView();
    });
  } catch (e) {
    rethrow;
  }
}