fetchAndAddPlugins method
void fetchAndAddPlugins(
- [[BuildContext] context]
)
Dynamically adds BottomNavigationBarItems
in BottomNavigationBar
.
by mapping over the data received from the server.
params:
context
: its the same context you use everywhere in the flutter framework refer flutter docs for more info.
returns: None
Implementation
void fetchAndAddPlugins(
BuildContext context,
)
- talawa
- main_screen_view_model
- MainScreenViewModel
- fetchAndAddPlugins method