forked from firka/student-legacy
remove comment
This commit is contained in:
parent
2e14d52c25
commit
56c87b146b
@ -86,8 +86,7 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
precacheImage(const AssetImage('assets/images/showcase3.png'), context);
|
precacheImage(const AssetImage('assets/images/showcase3.png'), context);
|
||||||
precacheImage(const AssetImage('assets/images/showcase4.png'), context);
|
precacheImage(const AssetImage('assets/images/showcase4.png'), context);
|
||||||
|
|
||||||
return Portal(
|
return Scaffold(
|
||||||
child: Scaffold(
|
|
||||||
body: Container(
|
body: Container(
|
||||||
decoration: const BoxDecoration(color: Color(0xFFDAE4F7)),
|
decoration: const BoxDecoration(color: Color(0xFFDAE4F7)),
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
@ -121,8 +120,7 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
Material(
|
Material(
|
||||||
type: MaterialType.transparency,
|
type: MaterialType.transparency,
|
||||||
child: showBack
|
child: showBack
|
||||||
? BackButton(
|
? BackButton(color: AppColors.of(context).text)
|
||||||
color: AppColors.of(context).text)
|
|
||||||
: const SizedBox(height: 48.0),
|
: const SizedBox(height: 48.0),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -130,127 +128,6 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
Stack(
|
Stack(
|
||||||
alignment: Alignment.bottomCenter,
|
alignment: Alignment.bottomCenter,
|
||||||
children: [
|
children: [
|
||||||
// Column(
|
|
||||||
// mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
// crossAxisAlignment: CrossAxisAlignment.center,
|
|
||||||
// children: [
|
|
||||||
// const SizedBox(height: 21),
|
|
||||||
// CarouselSlider(
|
|
||||||
// options: CarouselOptions(
|
|
||||||
// height: MediaQuery.of(context).size.height,
|
|
||||||
// viewportFraction: 1,
|
|
||||||
// autoPlay: true,
|
|
||||||
// autoPlayInterval: const Duration(seconds: 6),
|
|
||||||
// pauseAutoPlayOnTouch: true),
|
|
||||||
// items: [1, 2, 3, 4].map((i) {
|
|
||||||
// return Builder(
|
|
||||||
// builder: (BuildContext context) {
|
|
||||||
// return Column(
|
|
||||||
// crossAxisAlignment:
|
|
||||||
// CrossAxisAlignment.start,
|
|
||||||
// mainAxisAlignment:
|
|
||||||
// MainAxisAlignment.start,
|
|
||||||
// children: [
|
|
||||||
// Padding(
|
|
||||||
// padding:
|
|
||||||
// const EdgeInsets.only(left: 24),
|
|
||||||
// child: Column(
|
|
||||||
// crossAxisAlignment:
|
|
||||||
// CrossAxisAlignment.start,
|
|
||||||
// mainAxisAlignment:
|
|
||||||
// MainAxisAlignment.start,
|
|
||||||
// children: [
|
|
||||||
// Text(
|
|
||||||
// "welcome_title_$i".i18n,
|
|
||||||
// style: const TextStyle(
|
|
||||||
// color: Color(0xFF050B15),
|
|
||||||
// fontSize: 19,
|
|
||||||
// fontFamily: 'Montserrat',
|
|
||||||
// fontWeight:
|
|
||||||
// FontWeight.w700,
|
|
||||||
// height: 1.3),
|
|
||||||
// ),
|
|
||||||
// const SizedBox(
|
|
||||||
// height: 14.375), //meth
|
|
||||||
// Padding(
|
|
||||||
// padding:
|
|
||||||
// const EdgeInsets.only(
|
|
||||||
// right: 20),
|
|
||||||
// child: Text(
|
|
||||||
// "welcome_text_$i".i18n,
|
|
||||||
// style: const TextStyle(
|
|
||||||
// color:
|
|
||||||
// Color(0xFF050B15),
|
|
||||||
// fontFamily: 'FigTree',
|
|
||||||
// fontWeight:
|
|
||||||
// FontWeight.w500,
|
|
||||||
// fontSize: 17,
|
|
||||||
// height: 1.3),
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
// ],
|
|
||||||
// )),
|
|
||||||
// const SizedBox(height: 15.625),
|
|
||||||
// Padding(
|
|
||||||
// padding: const EdgeInsets.only(
|
|
||||||
// left: 16, right: 16),
|
|
||||||
// child: Image.asset(
|
|
||||||
// 'assets/images/showcase$i.png'))
|
|
||||||
// ],
|
|
||||||
// );
|
|
||||||
// },
|
|
||||||
// );
|
|
||||||
// }).toList(),
|
|
||||||
// ),
|
|
||||||
// ],
|
|
||||||
// ),
|
|
||||||
// Container(
|
|
||||||
// height: 250,
|
|
||||||
// width: double.infinity,
|
|
||||||
// decoration: const BoxDecoration(
|
|
||||||
// gradient: LinearGradient(
|
|
||||||
// colors: [Color(0x00DAE4F7), Color(0xFFDAE4F7)],
|
|
||||||
// stops: [0, 0.1],
|
|
||||||
// begin: Alignment.topCenter,
|
|
||||||
// end: Alignment.bottomCenter,
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
// child: Padding(
|
|
||||||
// padding: const EdgeInsets.only(top: 3),
|
|
||||||
// child: Column(
|
|
||||||
// children: [
|
|
||||||
// SizedBox(
|
|
||||||
// height: 48,
|
|
||||||
// width: double.infinity,
|
|
||||||
// child: Padding(
|
|
||||||
// padding: const EdgeInsets.symmetric(
|
|
||||||
// horizontal: 16),
|
|
||||||
// child: FilledButton(
|
|
||||||
// style: ButtonStyle(
|
|
||||||
// shape: MaterialStateProperty.all<
|
|
||||||
// RoundedRectangleBorder>(
|
|
||||||
// const RoundedRectangleBorder(
|
|
||||||
// borderRadius: BorderRadius.all(
|
|
||||||
// Radius.circular(12)),
|
|
||||||
// ))),
|
|
||||||
// onPressed: () {},
|
|
||||||
// child: Text(
|
|
||||||
// "login".i18n,
|
|
||||||
// style: const TextStyle(
|
|
||||||
// fontFamily: 'Montserrat',
|
|
||||||
// fontSize: 20,
|
|
||||||
// fontWeight: FontWeight.w700),
|
|
||||||
// )),
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
// const SizedBox(height: 8),
|
|
||||||
// ],
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
// )
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// TODO: OLD LOGIN FROM HERE
|
|
||||||
Column(
|
Column(
|
||||||
//login buttons and ui starts here
|
//login buttons and ui starts here
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
@ -270,8 +147,7 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
return Column(
|
return Column(
|
||||||
crossAxisAlignment:
|
crossAxisAlignment:
|
||||||
CrossAxisAlignment.start,
|
CrossAxisAlignment.start,
|
||||||
mainAxisAlignment:
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
MainAxisAlignment.start,
|
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding:
|
padding:
|
||||||
@ -288,21 +164,18 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
color: Color(0xFF050B15),
|
color: Color(0xFF050B15),
|
||||||
fontSize: 19,
|
fontSize: 19,
|
||||||
fontFamily: 'Montserrat',
|
fontFamily: 'Montserrat',
|
||||||
fontWeight:
|
fontWeight: FontWeight.w700,
|
||||||
FontWeight.w700,
|
|
||||||
height: 1.3),
|
height: 1.3),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 14.375), //meth
|
height: 14.375), //meth
|
||||||
Padding(
|
Padding(
|
||||||
padding:
|
padding: const EdgeInsets.only(
|
||||||
const EdgeInsets.only(
|
|
||||||
right: 20),
|
right: 20),
|
||||||
child: Text(
|
child: Text(
|
||||||
"welcome_text_$i".i18n,
|
"welcome_text_$i".i18n,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
color:
|
color: Color(0xFF050B15),
|
||||||
Color(0xFF050B15),
|
|
||||||
fontFamily: 'FigTree',
|
fontFamily: 'FigTree',
|
||||||
fontWeight:
|
fontWeight:
|
||||||
FontWeight.w500,
|
FontWeight.w500,
|
||||||
@ -567,7 +440,6 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user