showDetailPage method

void showDetailPage()

Implementation

void showDetailPage() {
  if (_dialogContext?.mounted ?? false) {
    Navigator.of(_dialogContext!).pop();
    return;
  }
  showModalBottomSheet(
    context: overlayContext!,
    isScrollControlled: true,
    constraints: BoxConstraints(maxHeight: _screenSize.height / 4 * 3),
    builder: (cont) {
      _dialogContext = cont;
      return KitsPage();
    },
    routeSettings: routeSettings,
  ).then((_) => _dialogContext = null);
}