1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-11 07:18:15 +00:00

[Gallery] Bring in Fortnightly banner (#317)

This commit is contained in:
rami-a
2020-02-06 10:22:16 -05:00
committed by GitHub
parent 7485904164
commit 96dc89870c
15 changed files with 7 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -3475,7 +3475,7 @@ class GalleryLocalizations {
}
String get fortnightlyDescription {
return Intl.message('A news app',
return Intl.message('A content-focused news app',
locale: _localeName,
name: 'fortnightlyDescription',
desc: r'Study description for Fortnightly.');

View File

@@ -123,7 +123,7 @@
"@shrineDescription": {
"description": "Study description for Shrine."
},
"fortnightlyDescription": "A news app",
"fortnightlyDescription": "A content-focused news app",
"@fortnightlyDescription": {
"description": "Study description for Fortnightly."
},

View File

@@ -116,7 +116,7 @@
<string
name="fortnightlyDescription"
description="Study description for Fortnightly."
>A news app</string>
>A content-focused news app</string>
<string
name="rallyDescription"
description="Study description for Rally."

View File

@@ -899,7 +899,7 @@ class MessageLookup extends MessageLookupByLibrary {
"dialogShow": MessageLookupByLibrary.simpleMessage("SHOW DIALOG"),
"dismiss": MessageLookupByLibrary.simpleMessage("DISMISS"),
"fortnightlyDescription":
MessageLookupByLibrary.simpleMessage("A news app"),
MessageLookupByLibrary.simpleMessage("A content-focused news app"),
"fortnightlyHeadlineArmy": MessageLookupByLibrary.simpleMessage(
"Reforming The Green Army From Within"),
"fortnightlyHeadlineBees": MessageLookupByLibrary.simpleMessage(

View File

@@ -84,7 +84,8 @@ class HomePage extends StatelessWidget {
_CarouselCard(
title: fortnightlyTitle,
subtitle: GalleryLocalizations.of(context).fortnightlyDescription,
// TODO: Provide asset for study banner.
asset: 'assets/studies/fortnightly_card.png',
assetDark: 'assets/studies/fortnightly_card_dark.png',
study: FortnightlyApp(navigatorKey: NavigatorKeys.fortnightly),
navigatorKey: NavigatorKeys.fortnightly,
),
@@ -914,6 +915,7 @@ class _DesktopPageButton extends StatelessWidget {
onTap: onTap,
child: Icon(
isEnd ? Icons.arrow_forward_ios : Icons.arrow_back_ios,
color: Colors.white,
),
),
),