This commit is contained in:
lollipopkit
2023-12-27 11:44:45 +08:00
parent 3a3ba4de37
commit 5284ceefd6
11 changed files with 59 additions and 89 deletions

View File

@@ -29,7 +29,6 @@ import '../../data/res/url.dart';
import '../widget/appbar.dart';
import '../widget/cardx.dart';
import '../widget/url_text.dart';
import '../widget/value_notifier.dart';
class HomePage extends StatefulWidget {
const HomePage({super.key});
@@ -114,6 +113,7 @@ class _HomePageState extends State<HomePage>
return Scaffold(
drawer: _buildDrawer(),
appBar: CustomAppBar(
centerTitle: false,
title: const Text(BuildData.name),
actions: <Widget>[
IconButton(
@@ -133,9 +133,9 @@ class _HomePageState extends State<HomePage>
}
},
),
bottomNavigationBar: ValueBuilder(
bottomNavigationBar: ListenableBuilder(
listenable: _selectIndex,
build: _buildBottomBar,
builder: (_, __) => _buildBottomBar(),
),
);
}