Tweak styling on intro page
This commit is contained in:
parent
7276274eff
commit
849cbca040
@ -243,26 +243,29 @@ class _Page extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Semantics(
|
return Semantics(
|
||||||
liveRegion: true,
|
liveRegion: true,
|
||||||
child: Column(children: [
|
child: Padding(
|
||||||
Spacer(),
|
padding: EdgeInsets.symmetric(horizontal: $styles.insets.md),
|
||||||
Gap(_IntroScreenState._imageSize + _IntroScreenState._logoHeight),
|
child: Column(children: [
|
||||||
SizedBox(
|
Spacer(),
|
||||||
height: _IntroScreenState._textHeight,
|
Gap(_IntroScreenState._imageSize + _IntroScreenState._logoHeight),
|
||||||
width: _IntroScreenState._imageSize + $styles.insets.md,
|
SizedBox(
|
||||||
child: StaticTextScale(
|
height: _IntroScreenState._textHeight,
|
||||||
child: Column(
|
width: 400,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
child: StaticTextScale(
|
||||||
children: [
|
child: Column(
|
||||||
Text(data.title, style: $styles.text.wonderTitle.copyWith(fontSize: 24 * $styles.scale)),
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
Gap($styles.insets.sm),
|
children: [
|
||||||
Text(data.desc, style: $styles.text.body, textAlign: TextAlign.center),
|
Text(data.title, style: $styles.text.wonderTitle.copyWith(fontSize: 24 * $styles.scale)),
|
||||||
],
|
Gap($styles.insets.sm),
|
||||||
|
Text(data.desc, style: $styles.text.body, textAlign: TextAlign.center),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
Gap(_IntroScreenState._pageIndicatorHeight),
|
||||||
Gap(_IntroScreenState._pageIndicatorHeight),
|
Spacer(flex: 2),
|
||||||
Spacer(flex: 2),
|
]),
|
||||||
]),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user