mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-22 00:58:40 +00:00
mod: marquee use velocity
This commit is contained in:
committed by
bggRGjQaUbCoE
parent
8d94c0405f
commit
498ab2818e
@@ -14,12 +14,10 @@ import 'package:flutter/material.dart';
|
||||
|
||||
class MusicVideoCardH extends StatelessWidget {
|
||||
final BgmRecommend videoItem;
|
||||
final Animation<double> animation;
|
||||
|
||||
const MusicVideoCardH({
|
||||
super.key,
|
||||
required this.videoItem,
|
||||
required this.animation,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -117,7 +115,7 @@ class MusicVideoCardH extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(height: 3),
|
||||
BounceMarquee(
|
||||
animation: animation,
|
||||
velocity: 25,
|
||||
child: Row(
|
||||
spacing: 8,
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user