From fde6698bbf75f96f170b601655f4d006654e4744 Mon Sep 17 00:00:00 2001 From: Matthew Patrick <Matthew.535200018@stu.untar.ac.id> Date: Mon, 25 Apr 2022 20:31:23 +0700 Subject: [PATCH] register_error - Added Animations assets to improve looks --- lib/components/register_error.dart | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/components/register_error.dart b/lib/components/register_error.dart index 8b793f8..65513d1 100644 --- a/lib/components/register_error.dart +++ b/lib/components/register_error.dart @@ -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 [