Nova tela de login | Adaptaçao nova da AppBar | Animções novas
This commit is contained in:
@@ -6,6 +6,9 @@ import 'package:lottie/lottie.dart';
|
||||
import 'package:video_player/video_player.dart';
|
||||
import 'package:youtube_player_flutter/youtube_player_flutter.dart';
|
||||
|
||||
import '../widgets/entrance.dart';
|
||||
import '../widgets/tap_bounce.dart';
|
||||
|
||||
// Video data structure - easily editable for future updates.
|
||||
// Episódios 1-7 tocam via YouTube (não listado); preencha youtubeId ao subir
|
||||
// cada vídeo. Episódios 8-13 continuam embutidos no app (assets/videos).
|
||||
@@ -276,8 +279,13 @@ class _VideoScreenState extends State<VideoScreen> {
|
||||
),
|
||||
itemCount: _filteredVideos.length,
|
||||
itemBuilder: (context, index) {
|
||||
return _VideoButton(
|
||||
video: _filteredVideos[index],
|
||||
return FadeSlideIn(
|
||||
delay: Duration(
|
||||
milliseconds: 40 * (index % 8),
|
||||
),
|
||||
child: _VideoButton(
|
||||
video: _filteredVideos[index],
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
@@ -437,7 +445,9 @@ class _VideoButton extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Material(
|
||||
return TapBounce(
|
||||
scale: 0.95,
|
||||
child: Material(
|
||||
elevation: 8,
|
||||
shadowColor: Colors.black.withValues(alpha: 0.12),
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
@@ -484,6 +494,7 @@ class _VideoButton extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user