INNER CODE UNIT · Dart

_MyAppState

doen1el/calibre-web-companion · lib/main.dart:174

class _MyAppState extends State<MyApp> {
  late final Future<bool> _loginFuture = _isLoggedIn();
  StreamSubscription<Uri?>? _widgetClickSub;

  @override
  void initState() {
    super.initState();
    _setupWidgetLaunch();
    SessionReauthService().registerHandler(_openSsoReauth);
  }

  @override
  void dispose() {
    _widgetClickSub?.cancel();
    SessionReauthService().registerHandler(null);
    super.dispose();
  }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…