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