I have created a bottom navigation menu in my app and i would like to create an animated circular menu when i click on the transact button.
When i click on transact i want it to pull up like this
This is my current bottomNav code
bottomNavigationBar: BottomNavigationBar(
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.home),
label: 'Home',
),
BottomNavigationBarItem(
icon: Icon(Icons.swap_horiz),
label: 'Transact',
),
BottomNavigationBarItem(
icon: Icon(Icons.settings),
label: 'Settings',
),
],
currentIndex: _selectedIndex,
selectedItemColor: MyColors.greenSuccess,
onTap: _onItemTapped,
),
//function when item is tapped
void _onItemTapped(int index) {
setState(() {
_selectedIndex = index;
});
//check which item is selected
if(index == 0){
//go home
}
else if(index == 1){
//open trans menu here
}
else{
// go to settings
}
}