1
0
mirror of https://github.com/stonega/tsacdop synced 2024-12-16 18:30:31 +01:00
tsacdop-podcast-app-android/lib/intro_slider/fourthpage.dart
stonegate 84e10061c8 Add intro slider
Fix mini playlist bug
2020-04-06 20:18:08 +08:00

46 lines
1.3 KiB
Dart

import 'package:flutter/material.dart';
import 'package:flare_flutter/flare_actor.dart';
class FourthPage extends StatefulWidget {
FourthPage({Key key}) : super(key: key);
@override
_FourthPageState createState() => _FourthPageState();
}
class _FourthPageState extends State<FourthPage> {
@override
Widget build(BuildContext context) {
return Container(
color: Color.fromRGBO(77, 145, 190, 1),
child: Center(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Container(
height: 200,
alignment: Alignment.center,
padding: EdgeInsets.all(40),
child: Text('Long press on episode card for quick actions.', style: TextStyle(
fontSize: 30,
color: Colors.white
),),
),
Container(
height: 400,
// color: Colors.red,
child: FlareActor(
'assets/longtap.flr',
alignment: Alignment.center,
animation: 'longtap',
fit: BoxFit.cover,
)),
Spacer(),
],
),
),
);
}
}