Tweak spacing, increase font size for colosseum and christRedeemer
This commit is contained in:
parent
d7fce78dde
commit
d682f29b75
@ -177,8 +177,7 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
WonderTitleText(currentWonder, enableShadows: true),
|
WonderTitleText(currentWonder, enableShadows: true),
|
||||||
|
Gap($styles.insets.xs),
|
||||||
//Gap($styles.insets.sm),
|
|
||||||
AppPageIndicator(
|
AppPageIndicator(
|
||||||
count: _numWonders,
|
count: _numWonders,
|
||||||
controller: _pageController,
|
controller: _pageController,
|
||||||
@ -187,17 +186,11 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
|
|||||||
onDotPressed: _handlePageIndicatorDotPressed,
|
onDotPressed: _handlePageIndicatorDotPressed,
|
||||||
semanticPageTitle: $strings.homeSemanticWonder,
|
semanticPageTitle: $strings.homeSemanticWonder,
|
||||||
),
|
),
|
||||||
|
|
||||||
/// Page indicator
|
|
||||||
// IgnorePointer(
|
|
||||||
// child: DiagonalTextPageIndicator(current: _wonderIndex + 1, total: _numWonders),
|
|
||||||
// ),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
//Gap($styles.insets.xs),
|
|
||||||
|
|
||||||
/// Animated arrow and background
|
/// Animated arrow and background
|
||||||
/// Wrap in a container that is full-width to make it easier to find for screen readers
|
/// Wrap in a container that is full-width to make it easier to find for screen readers
|
||||||
|
@ -17,7 +17,7 @@ class WonderTitleText extends StatelessWidget {
|
|||||||
);
|
);
|
||||||
bool smallText = [WonderType.christRedeemer, WonderType.colosseum].contains(data.type);
|
bool smallText = [WonderType.christRedeemer, WonderType.colosseum].contains(data.type);
|
||||||
if (smallText) {
|
if (smallText) {
|
||||||
textStyle = textStyle.copyWith(fontSize: 48);
|
textStyle = textStyle.copyWith(fontSize: 56);
|
||||||
}
|
}
|
||||||
|
|
||||||
// First, get a list like: ['the\n', 'great wall']
|
// First, get a list like: ['the\n', 'great wall']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user