tsacdop-podcast-app-android/lib/intro_slider/thirdpage.dart

46 lines
1.3 KiB
Dart
Raw Normal View History

2020-10-28 13:10:43 +01:00
import 'package:flutter/material.dart';
import 'package:flare_flutter/flare_actor.dart';
import '../util/extension_helper.dart';
class ThirdPage extends StatefulWidget {
ThirdPage({Key key}) : super(key: key);
@override
_ThirdPageState createState() => _ThirdPageState();
}
class _ThirdPageState extends State<ThirdPage> {
@override
Widget build(BuildContext context) {
return Container(
color: Color.fromRGBO(35, 204, 198, 1),
child: Center(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Container(
height: 200,
alignment: Alignment.center,
2021-01-01 07:51:23 +01:00
padding: EdgeInsets.fromLTRB(40, context.paddingTop + 20, 40, 20),
2020-10-28 13:10:43 +01:00
child: Text(
context.s.introThirdPage,
style: TextStyle(fontSize: 30, color: Colors.white),
),
),
2021-01-01 07:51:23 +01:00
SizedBox(
2020-10-28 13:10:43 +01:00
height: context.width * 3 / 4,
child: FlareActor(
'assets/swipe.flr',
alignment: Alignment.center,
animation: 'swipe',
fit: BoxFit.cover,
)),
Spacer(),
],
),
),
);
}
}