Register_Form- Moved Lottie to Local for load perf
This commit is contained in:
parent
e72bd8b1f8
commit
6aaa25f72f
2 changed files with 3 additions and 2 deletions
1
assets/lottieanims/register_form.json
Normal file
1
assets/lottieanims/register_form.json
Normal file
File diff suppressed because one or more lines are too long
|
@ -39,8 +39,8 @@ class RegisterFormState extends State<RegisterForm> {
|
||||||
Column(
|
Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: [
|
children: [
|
||||||
Lottie.network(
|
Lottie.asset(
|
||||||
"https://assets10.lottiefiles.com/datafiles/JAmX1SNojoncImC/data.json",
|
"assets/lottieanims/register_form.json",
|
||||||
frameRate: FrameRate.max,
|
frameRate: FrameRate.max,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
fit: BoxFit.fitHeight,
|
fit: BoxFit.fitHeight,
|
||||||
|
|
Loading…
Add table
Reference in a new issue