1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 23:08:59 +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

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,
),
),
),