@override

Widget

build

BuildContext

context

return

MediaQuery

data:

const

MediaQueryData

(),

child:

CupertinoTabBar

items:

const

BottomNavigationBarItem

>[

BottomNavigationBarItem

icon:

Icon

CupertinoIcons

add_circled

),

label:

'Tab 1'

),

BottomNavigationBarItem

icon:

Icon

CupertinoIcons

add_circled_solid

),

label: