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

@@ -32,7 +32,7 @@ class VideoCardHGrpc extends StatelessWidget {
String type = 'video';
final String heroTag = Utils.makeHeroTag(aid);
return InkWell(
borderRadius: BorderRadius.circular(12),
borderRadius: const BorderRadius.all(Radius.circular(12)),
onLongPress: () => imageSaveDialog(
title: videoItem.smallCoverV5.base.title,
cover: videoItem.smallCoverV5.base.cover,

View File

@@ -86,14 +86,14 @@ class VideoCardHMemberVideo extends StatelessWidget {
height: maxHeight,
),
if (fromViewAid == videoItem.param)
Positioned.fill(
const Positioned.fill(
child: DecoratedBox(
decoration: BoxDecoration(
borderRadius: StyleString.mdRadius,
color: Colors.black54,
),
child: Center(
child: const Text(
child: Text(
'上次观看',
style: TextStyle(
color: Colors.white,

View File

@@ -31,7 +31,7 @@ class VideoCardV extends StatelessWidget {
return numericRegex.hasMatch(str);
}
void onPushDetail(heroTag) async {
Future<void> onPushDetail(heroTag) async {
String? goto = videoItem.goto;
switch (goto) {
case 'bangumi':

View File

@@ -19,7 +19,7 @@ class VideoCardVMemberHome extends StatelessWidget {
required this.videoItem,
});
void onPushDetail(heroTag) async {
Future<void> onPushDetail(heroTag) async {
String? goto = videoItem.goto;
switch (goto) {
case 'bangumi':