mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Updates for Flutter 1.22 (#559)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user