part of 'home.dart'; final class _AppBar extends CustomAppBar { final ValueNotifier selectIndex; const _AppBar({ required this.selectIndex, super.title, super.actions, super.centerTitle, }); @override Widget build(BuildContext context) { return ValueListenableBuilder( valueListenable: selectIndex, builder: (_, idx, __) { if (idx == AppTab.ssh.index) { return SizedBox( height: CustomAppBar.barHeight ?? 0 + MediaQuery.of(context).padding.top, ); } return super.build(context); }, ); } }