1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Updates for Flutter 1.22 (#559)

This commit is contained in:
Andrew Brogdon
2020-10-01 11:14:27 -07:00
committed by GitHub
parent 5047f11d72
commit 9af31afec4
25 changed files with 361 additions and 375 deletions

View File

@@ -80,11 +80,17 @@ class _PlatformAdaptingHomePageState extends State<PlatformAdaptingHomePage> {
tabBar: CupertinoTabBar(
items: [
BottomNavigationBarItem(
title: Text(SongsTab.title), icon: SongsTab.iosIcon),
label: SongsTab.title,
icon: SongsTab.iosIcon,
),
BottomNavigationBarItem(
title: Text(NewsTab.title), icon: NewsTab.iosIcon),
label: NewsTab.title,
icon: NewsTab.iosIcon,
),
BottomNavigationBarItem(
title: Text(ProfileTab.title), icon: ProfileTab.iosIcon),
label: ProfileTab.title,
icon: ProfileTab.iosIcon,
),
],
),
tabBuilder: (context, index) {