Tweak spacing, increase font size for colosseum and christRedeemer

This commit is contained in:
Shawn 2022-09-07 15:16:33 -06:00
parent d7fce78dde
commit d682f29b75
2 changed files with 2 additions and 9 deletions

View File

@ -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

View File

@ -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']