items:

const

BottomNavigationBarItem

>[

BottomNavigationBarItem

icon:

Icon

CupertinoIcons

add_circled

),

label:

'Tab 1'

),

BottomNavigationBarItem

icon:

Icon

CupertinoIcons

add_circled_solid

),

label:

'Tab 2'

),

],

currentIndex:

),

);

Code after migration (Providing localizations by using
the Localizations widget):

import

'package:flutter/cupertino.dart'

void