mod: lint

mod: tweaks

opt: publish page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-04 11:37:13 +08:00
parent 2cfad80214
commit caa58e9d7d
313 changed files with 2751 additions and 2789 deletions

View File

@@ -56,7 +56,7 @@ class _PgcIndexPageState extends State<PgcIndexPage>
child: CustomScrollView(
slivers: [
if (widget.indexType != null)
SliverToBoxAdapter(child: const SizedBox(height: 12)),
const SliverToBoxAdapter(child: SizedBox(height: 12)),
SliverToBoxAdapter(
child: AnimatedSize(
curve: Curves.easeInOut,
@@ -205,7 +205,7 @@ class _PgcIndexPageState extends State<PgcIndexPage>
Widget _buildList(LoadingState<List<dynamic>?> loadingState) {
return switch (loadingState) {
Loading() => HttpError(errMsg: '加载中'),
Loading() => const HttpError(errMsg: '加载中'),
Success() => loadingState.response?.isNotEmpty == true
? SliverGrid(
gridDelegate: SliverGridDelegateWithExtentAndRatio(