diff --git a/assets/images/link_box/info_icon.png b/assets/images/link_box/info_icon.png new file mode 100644 index 00000000..78556be0 Binary files /dev/null and b/assets/images/link_box/info_icon.png differ diff --git a/lib/gen/assets.gen.dart b/lib/gen/assets.gen.dart index 147d8ab1..33d2bbd1 100644 --- a/lib/gen/assets.gen.dart +++ b/lib/gen/assets.gen.dart @@ -14,6 +14,7 @@ class $AssetsImagesGen { const $AssetsImagesBonusAnimationGen(); $AssetsImagesComponentsGen get components => const $AssetsImagesComponentsGen(); + $AssetsImagesLinkBoxGen get linkBox => const $AssetsImagesLinkBoxGen(); $AssetsImagesScoreGen get score => const $AssetsImagesScoreGen(); } @@ -53,6 +54,14 @@ class $AssetsImagesComponentsGen { const AssetGenImage('assets/images/components/space.png'); } +class $AssetsImagesLinkBoxGen { + const $AssetsImagesLinkBoxGen(); + + /// File path: assets/images/link_box/info_icon.png + AssetGenImage get infoIcon => + const AssetGenImage('assets/images/link_box/info_icon.png'); +} + class $AssetsImagesScoreGen { const $AssetsImagesScoreGen(); diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 03fde0bd..3d15d9fd 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -120,6 +120,46 @@ "@footerGoogleIOText": { "description": "Text shown on the footer which mentions Google I/O" }, + "linkBoxTitle": "Resources", + "@linkBoxTitle": { + "description": "Text shown on the link box title section." + }, + "linkBoxMadeWithText": "Made with ", + "@linkBoxMadeWithText": { + "description": "Text shown on the link box which mentions technologies used to build the app." + }, + "linkBoxFlutterLinkText": "Flutter", + "@linkBoxFlutterLinkText": { + "description": "Text on the link shown on the link box which navigates to the Flutter page" + }, + "linkBoxFirebaseLinkText": "Firebase", + "@linkBoxFirebaseLinkText": { + "description": "Text on the link shown on the link box which navigates to the Firebase page" + }, + "linkBoxOpenSourceCode": "Open Source Code", + "@linkBoxOpenSourceCode": { + "description": "Text shown on the link box which redirects to github project" + }, + "linkBoxGoogleIOText": "Google I/O", + "@linkBoxGoogleIOText": { + "description": "Text shown on the link box which mentions Google I/O" + }, + "linkBoxFlutterGames": "Flutter Games", + "@linkBoxFlutterGames": { + "description": "Text shown on the link box which redirects to flutter games article" + }, + "linkBoxHowItsMade": "How it’s made", + "@linkBoxHowItsMade": { + "description": "Text shown on the link box which redirects to Very Good Blog article" + }, + "linkBoxTermsOfService": "Terms of Service", + "@linkBoxTermsOfService": { + "description": "Text shown on the link box which redirect to terms of service" + }, + "linkBoxPrivacyPolicy": "Privacy Policy", + "@linkBoxPrivacyPolicy": { + "description": "Text shown on the link box which redirect to privacy policy" + }, "loading": "Loading", "@loading": { "description": "Text shown to indicate loading times" diff --git a/packages/pinball_ui/lib/src/theme/pinball_text_style.dart b/packages/pinball_ui/lib/src/theme/pinball_text_style.dart index 10383abf..18968680 100644 --- a/packages/pinball_ui/lib/src/theme/pinball_text_style.dart +++ b/packages/pinball_ui/lib/src/theme/pinball_text_style.dart @@ -37,6 +37,13 @@ abstract class PinballTextStyle { fontFamily: _primaryFontFamily, ); + static const headline5 = TextStyle( + color: PinballColors.white, + fontSize: 14, + package: _fontPackage, + fontFamily: _primaryFontFamily, + ); + static const subtitle2 = TextStyle( color: PinballColors.white, fontSize: 16, diff --git a/packages/pinball_ui/lib/src/theme/pinball_theme.dart b/packages/pinball_ui/lib/src/theme/pinball_theme.dart index cf62b2ef..43322391 100644 --- a/packages/pinball_ui/lib/src/theme/pinball_theme.dart +++ b/packages/pinball_ui/lib/src/theme/pinball_theme.dart @@ -16,6 +16,7 @@ class PinballTheme { headline2: PinballTextStyle.headline2, headline3: PinballTextStyle.headline3, headline4: PinballTextStyle.headline4, + headline5: PinballTextStyle.headline5, subtitle1: PinballTextStyle.subtitle1, subtitle2: PinballTextStyle.subtitle2, ); diff --git a/pubspec.yaml b/pubspec.yaml index fcee1e6e..dcfa6f3d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: flame: ^1.1.1 flame_bloc: ^1.4.0 flame_forge2d: - git: + git: url: https://github.com/flame-engine/flame/ path: packages/flame_forge2d/ ref: a50d4a1e7d9eaf66726ed1bb9894c9d495547d8f @@ -60,6 +60,7 @@ flutter: - assets/images/components/ - assets/images/bonus_animation/ - assets/images/score/ + - assets/images/link_box/ flutter_gen: line_length: 80