void toggleAbout()

in lib/src/platform_web.dart [43:56]


  void toggleAbout([bool? value]) {
    final loc = window.location;
    // ensure we treat empty hash like '#', which makes comparison easy later
    final hash = loc.hash.isEmpty ? '#' : loc.hash;

    final isOpen = hash == _aboutHash;
    value ??= !isOpen;

    final targetHash = value ? _aboutHash : '#';
    if (targetHash != hash) {
      loc.assign(targetHash);
    }
    _aboutController.add(null);
  }