From 3e9c12e22e8a9986a37850b87dd4608bc4022d7a Mon Sep 17 00:00:00 2001 From: Kelvin Samuel Date: Sun, 22 May 2022 18:06:55 +0700 Subject: [PATCH] Remove Login Eror Screen --- lib/components/login_error.dart | 84 --------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 lib/components/login_error.dart diff --git a/lib/components/login_error.dart b/lib/components/login_error.dart deleted file mode 100644 index e732297..0000000 --- a/lib/components/login_error.dart +++ /dev/null @@ -1,84 +0,0 @@ -import 'package:lottie/lottie.dart'; -import 'package:flutter/material.dart'; - -class LoginError extends StatefulWidget { - const LoginError({Key? key}) : super(key: key); - - @override - State createState() => LoginErrorState(); -} - -class LoginErrorState extends State { - @override - Widget build(BuildContext context) { - return SafeArea( - child: Container( - margin: const EdgeInsets.fromLTRB(10, 10, 10, 5), - child: Card( - color: const Color(0xff212226), - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(15), - ), - child: SingleChildScrollView( - child: Container( - padding: const EdgeInsets.fromLTRB(10, 0, 10, 0), - height: MediaQuery.of(context).size.height, - width: double.infinity, - child: Column( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Column( - children: [ - const SizedBox( - height: 50, - ), - const Text( - "Error", - textAlign: TextAlign.center, - style: TextStyle( - color: Colors.white, - fontWeight: FontWeight.bold, - fontSize: 40), - ), - const SizedBox( - height: 45, - ), - Column( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - Lottie.asset( - "assets/lottie/login_error.json", - frameRate: FrameRate.max, - alignment: Alignment.center, - height: 350, - fit: BoxFit.fitHeight, - ), - ], - ), - const SizedBox( - height: 70, - ), - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: const [ - Text( - "An error has occured\nMake sure to check\nif your email has been \nregistered before.", - textAlign: TextAlign.center, - style: TextStyle( - color: Colors.white, - fontWeight: FontWeight.bold, - fontSize: 25), - ), - ], - ) - ], - ), - ], - ), - ), - ), - ), - ), - ); - } -}