Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -15,8 +15,11 @@ class FavPgcPage extends StatefulWidget {
class _FavPgcPageState extends State<FavPgcPage>
with AutomaticKeepAliveClientMixin, SingleTickerProviderStateMixin {
late final TabController _tabController =
TabController(length: 3, vsync: this, initialIndex: 1);
late final TabController _tabController = TabController(
length: 3,
vsync: this,
initialIndex: 1,
);
@override
bool get wantKeepAlive => true;
@@ -46,16 +49,19 @@ class _FavPgcPageState extends State<FavPgcPage>
padding: const EdgeInsets.symmetric(horizontal: 8),
dividerHeight: 0,
indicatorWeight: 0,
indicatorPadding:
const EdgeInsets.symmetric(horizontal: 3, vertical: 8),
indicatorPadding: const EdgeInsets.symmetric(
horizontal: 3,
vertical: 8,
),
indicator: BoxDecoration(
color: theme.colorScheme.secondaryContainer,
borderRadius: const BorderRadius.all(Radius.circular(20)),
),
indicatorSize: TabBarIndicatorSize.tab,
labelStyle: TabBarTheme.of(context)
.labelStyle
?.copyWith(fontSize: 14) ??
labelStyle:
TabBarTheme.of(
context,
).labelStyle?.copyWith(fontSize: 14) ??
const TextStyle(fontSize: 14),
labelColor: theme.colorScheme.onSecondaryContainer,
unselectedLabelColor: theme.colorScheme.outline,