Browse Source

Increased font weight and added bold font

working_branch
Kenneth Bruen 5 years ago
parent
commit
1b046d517f
  1. 4
      CHANGELOG.TXT
  2. 4
      ios/Podfile.lock
  3. 8
      lib/train_info_page/train_info_cupertino_DisplayTrainStation.dart
  4. 2
      pubspec.yaml

4
CHANGELOG.TXT

@ -1,3 +1,7 @@
v2.0.5
- increased font weight on iOS
- added support for system bolt font request on iOS
v2.0.4 v2.0.4
- added original time in case of delay for iOS - added original time in case of delay for iOS
+ will be for Android soon + will be for Android soon

4
ios/Podfile.lock

@ -4,12 +4,12 @@ PODS:
- Flutter - Flutter
DEPENDENCIES: DEPENDENCIES:
- Flutter (from `.symlinks/flutter/ios`) - Flutter (from `.symlinks/flutter/ios-release`)
- webview_flutter (from `.symlinks/plugins/webview_flutter/ios`) - webview_flutter (from `.symlinks/plugins/webview_flutter/ios`)
EXTERNAL SOURCES: EXTERNAL SOURCES:
Flutter: Flutter:
:path: ".symlinks/flutter/ios" :path: ".symlinks/flutter/ios-release"
webview_flutter: webview_flutter:
:path: ".symlinks/plugins/webview_flutter/ios" :path: ".symlinks/plugins/webview_flutter/ios"

8
lib/train_info_page/train_info_cupertino_DisplayTrainStation.dart

@ -111,8 +111,8 @@ class KmBadge extends StatelessWidget {
value.toString(), value.toString(),
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( style: CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 18, fontSize: 18,
fontWeight: FontWeight.w100, fontWeight: MediaQuery.of(context).boldText ? FontWeight.w400 : FontWeight.w200,
color: foregroundColor color: MediaQuery.of(context).boldText ? FOREGROUND_WHITE : foregroundColor,
), ),
textAlign: TextAlign.center, textAlign: TextAlign.center,
); );
@ -124,7 +124,7 @@ class KmBadge extends StatelessWidget {
"km", "km",
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( style: CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 10, fontSize: 10,
color: foregroundColor, color: MediaQuery.of(context).boldText ? FOREGROUND_WHITE : foregroundColor,
), ),
), ),
], ],
@ -153,7 +153,7 @@ class Title extends StatelessWidget {
items[0], items[0],
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith( style: CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 22, fontSize: 22,
fontWeight: FontWeight.w100, fontWeight: MediaQuery.of(context).boldText ? FontWeight.w400 : FontWeight.w200,
fontStyle: items[1] == "ONI" ? FontStyle.italic : FontStyle.normal, fontStyle: items[1] == "ONI" ? FontStyle.italic : FontStyle.normal,
), ),
textAlign: TextAlign.center, textAlign: TextAlign.center,

2
pubspec.yaml

@ -11,7 +11,7 @@ description: O aplicație de vizualizare a datelor puse la dispoziție de Inform
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.4 version: 2.0.5
environment: environment:
sdk: ">=2.3.0 <3.0.0" sdk: ">=2.3.0 <3.0.0"

Loading…
Cancel
Save