merge static method
Creates a button theme that controls how descendant BottomNavigations should look like, and merges in the current button theme, if any.
Implementation
static Widget merge({
Key? key,
required BottomNavigationThemeData data,
required Widget child,
}) {
return Builder(builder: (BuildContext context) {
return BottomNavigationTheme(
key: key,
data: _getInheritedBottomNavigationThemeData(context).merge(data),
child: child,
);
});
}