disablePreloadedScreen method

Future<void> disablePreloadedScreen()

Implementation

Future<void> disablePreloadedScreen() async {
  safeSetState(() => _isPreloaderExist = true);
  await Future<void>.delayed(const Duration(milliseconds: 10));
  safeSetState(() => _isPreloaderVisible = true);
  await Future<void>.delayed(const Duration(milliseconds: 250));
  safeSetState(() => _canCreateChild = false);
}