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(
|
||||
children: [
|
||||
WonderTitleText(currentWonder, enableShadows: true),
|
||||
|
||||
//Gap($styles.insets.sm),
|
||||
Gap($styles.insets.xs),
|
||||
AppPageIndicator(
|
||||
count: _numWonders,
|
||||
controller: _pageController,
|
||||
@ -187,17 +186,11 @@ class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateM
|
||||
onDotPressed: _handlePageIndicatorDotPressed,
|
||||
semanticPageTitle: $strings.homeSemanticWonder,
|
||||
),
|
||||
|
||||
/// Page indicator
|
||||
// IgnorePointer(
|
||||
// child: DiagonalTextPageIndicator(current: _wonderIndex + 1, total: _numWonders),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
//Gap($styles.insets.xs),
|
||||
|
||||
/// Animated arrow and background
|
||||
/// 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);
|
||||
if (smallText) {
|
||||
textStyle = textStyle.copyWith(fontSize: 48);
|
||||
textStyle = textStyle.copyWith(fontSize: 56);
|
||||
}
|
||||
|
||||
// First, get a list like: ['the\n', 'great wall']
|
||||
|
Loading…
x
Reference in New Issue
Block a user