register_form - Added animations

This commit is contained in:
Matthew Patrick 2022-04-25 20:40:13 +07:00
parent f951855b6a
commit f906e6679d

View file

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:lottie/lottie.dart';
class Register_Form extends StatefulWidget {
Register_Form({Key? key}) : super(key: key);
@ -29,6 +30,18 @@ class _Register_FormState extends State<Register_Form> {
children: [
Column(
children: [
Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Lottie.network(
"https://assets10.lottiefiles.com/datafiles/JAmX1SNojoncImC/data.json",
frameRate: FrameRate.max,
alignment: Alignment.center,
fit: BoxFit.fitHeight,
height: 250,
),
],
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 35),
child: Container(