This commit is contained in:
lollipopkit🏳️‍⚧️
2025-04-25 18:32:29 +08:00
parent fa90c1ef31
commit 9e66071cb0
4 changed files with 11 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ class _ContainerPageState extends State<ContainerPage> {
builder: (_, __) => Consumer<ContainerProvider>(
builder: (_, ___, __) {
return Scaffold(
appBar: AppBar(
appBar: CustomAppBar(
centerTitle: true,
title: TwoLineText(up: l10n.container, down: widget.spi.name),
actions: [

View File

@@ -177,7 +177,7 @@ class _HomePageState extends State<HomePage>
builder: (context, child) =>
AdaptiveScaffold.standardNavigationRail(
extended: extended,
padding: EdgeInsets.zero,
padding: EdgeInsets.only(top: CustomAppBar.sysStatusBarHeight),
selectedIndex: _selectIndex.value,
destinations: AppTab.navRailDestinations,
onDestinationSelected: _onDestinationSelected,

View File

@@ -55,7 +55,7 @@ class _SettingsPageState extends State<SettingsPage>
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
appBar: CustomAppBar(
title: Text(libL10n.setting, style: const TextStyle(fontSize: 20)),
bottom: TabBar(
controller: _tabCtrl,

View File

@@ -488,6 +488,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_adaptive_scaffold:
dependency: "direct main"
description:
name: flutter_adaptive_scaffold
sha256: "7279d74da2f2531a16d21c2ec327308778c3aedd672dfe4eaf3bf416463501f8"
url: "https://pub.dev"
source: hosted
version: "0.3.2"
flutter_displaymode:
dependency: "direct main"
description: