forked from firka/student-legacy
Merge branch 'dev' of github.com:refilc/naplo into dev
This commit is contained in:
commit
d204af42db
@ -5,6 +5,7 @@ import 'package:refilc/api/login.dart';
|
|||||||
import 'package:refilc/theme/colors/colors.dart';
|
import 'package:refilc/theme/colors/colors.dart';
|
||||||
import 'package:refilc_mobile_ui/common/custom_snack_bar.dart';
|
import 'package:refilc_mobile_ui/common/custom_snack_bar.dart';
|
||||||
import 'package:refilc_mobile_ui/common/system_chrome.dart';
|
import 'package:refilc_mobile_ui/common/system_chrome.dart';
|
||||||
|
import 'package:refilc_mobile_ui/common/widgets/absence/absence_display.dart';
|
||||||
import 'package:refilc_mobile_ui/screens/login/login_button.dart';
|
import 'package:refilc_mobile_ui/screens/login/login_button.dart';
|
||||||
import 'package:refilc_mobile_ui/screens/login/login_input.dart';
|
import 'package:refilc_mobile_ui/screens/login/login_input.dart';
|
||||||
import 'package:refilc_mobile_ui/screens/login/school_input/school_input.dart';
|
import 'package:refilc_mobile_ui/screens/login/school_input/school_input.dart';
|
||||||
@ -123,11 +124,11 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 32),
|
const SizedBox(height: 21),
|
||||||
CarouselSlider(
|
CarouselSlider(
|
||||||
options: CarouselOptions(
|
options: CarouselOptions(
|
||||||
height: MediaQuery.of(context).size.height,
|
height: MediaQuery.of(context).size.height,
|
||||||
viewportFraction: 0.957, //math is mathing
|
viewportFraction: 1,
|
||||||
autoPlay: true,
|
autoPlay: true,
|
||||||
autoPlayInterval: const Duration(seconds: 4),
|
autoPlayInterval: const Duration(seconds: 4),
|
||||||
pauseAutoPlayOnTouch: true),
|
pauseAutoPlayOnTouch: true),
|
||||||
@ -139,27 +140,44 @@ class LoginScreenState extends State<LoginScreen> {
|
|||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 24),
|
padding: const EdgeInsets.only(left: 24),
|
||||||
//TODO: fix padding
|
child: Column(
|
||||||
child: Text(
|
crossAxisAlignment:
|
||||||
"welcome_title_$i".i18n,
|
CrossAxisAlignment.start,
|
||||||
style: TextStyle(
|
mainAxisAlignment:
|
||||||
color: AppColors.of(context)
|
MainAxisAlignment.start,
|
||||||
.loginPrimary,
|
children: [
|
||||||
fontSize: 20,
|
Text(
|
||||||
fontFamily: 'Montserrat',
|
"welcome_title_$i".i18n,
|
||||||
fontWeight: FontWeight.w700,
|
style: TextStyle(
|
||||||
height: 1.3),
|
color: AppColors.of(context)
|
||||||
),
|
.loginPrimary,
|
||||||
),
|
fontSize: 20,
|
||||||
const SizedBox(height: 20),
|
fontFamily: 'Montserrat',
|
||||||
Text("welcome_text_$i".i18n,
|
fontWeight: FontWeight.w700,
|
||||||
style: const TextStyle(
|
height: 1.3),
|
||||||
fontFamily: 'FigTree',
|
),
|
||||||
fontWeight: FontWeight.w500,
|
const SizedBox(height: 14.375), //meth
|
||||||
fontSize: 18,
|
Padding(
|
||||||
height: 1.3)),
|
padding: const EdgeInsets.only(
|
||||||
Image.asset('assets/images/showcase$i.png')
|
right: 20),
|
||||||
|
child: Text(
|
||||||
|
"welcome_text_$i".i18n,
|
||||||
|
style: const TextStyle(
|
||||||
|
fontFamily: 'FigTree',
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 18,
|
||||||
|
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', fit: BoxFit.fitWidth)),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user