register_error - Added Animations assets to improve looks

This commit is contained in:
Matthew Patrick 2022-04-25 20:31:23 +07:00
parent bd0e94eec1
commit fde6698bbf

View file

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';
class Register_Error extends StatefulWidget {
Register_Error({Key? key}) : super(key: key);
@ -42,6 +43,21 @@ class _Register_ErrorState extends State<Register_Error> {
const SizedBox(
height: 50,
),
Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Lottie.network(
"https://assets5.lottiefiles.com/temp/lf20_QYm9j9.json",
frameRate: FrameRate.max,
alignment: Alignment.center,
height: 350,
fit: BoxFit.fitHeight,
),
],
),
const SizedBox(
height: 50,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: const [