fix padding
This commit is contained in:
parent
3e20977195
commit
96b84e2ddd
@ -123,11 +123,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: 23),
|
||||||
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,26 +139,32 @@ 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,
|
Text("welcome_text_$i".i18n,
|
||||||
height: 1.3)),
|
style: const TextStyle(
|
||||||
|
fontFamily: 'FigTree',
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
|
fontSize: 18,
|
||||||
|
height: 1.3)),
|
||||||
|
],
|
||||||
|
)),
|
||||||
Image.asset('assets/images/showcase$i.png')
|
Image.asset('assets/images/showcase$i.png')
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user