opt: more linter (#1765)

* opt: more linter

* fix [skip ci]

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-12-07 23:46:42 +08:00
committed by GitHub
parent 3787f99d35
commit 773bdafec3
22 changed files with 55 additions and 49 deletions

View File

@@ -62,9 +62,9 @@ class _FavNotePageState extends State<FavNotePage>
const TextStyle(fontSize: 14),
labelColor: theme.colorScheme.onSecondaryContainer,
unselectedLabelColor: theme.colorScheme.outline,
tabs: [
const Tab(text: '未发布笔记'),
const Tab(text: '公开笔记'),
tabs: const [
Tab(text: '未发布笔记'),
Tab(text: '公开笔记'),
],
onTap: (index) {
try {
@@ -105,9 +105,9 @@ class _FavNotePageState extends State<FavNotePage>
child: TabBarView(
controller: _tabController,
physics: const NeverScrollableScrollPhysics(),
children: [
const FavNoteChildPage(isPublish: false),
const FavNoteChildPage(isPublish: true),
children: const [
FavNoteChildPage(isPublish: false),
FavNoteChildPage(isPublish: true),
],
),
),