Remove Login Eror Screen
This commit is contained in:
parent
ef2174aaa9
commit
3e9c12e22e
1 changed files with 0 additions and 84 deletions
|
@ -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<LoginError> createState() => LoginErrorState();
|
|
||||||
}
|
|
||||||
|
|
||||||
class LoginErrorState extends State<LoginError> {
|
|
||||||
@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),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue