merge static method
- Key? key,
- required IconThemeData data,
- required Widget child,
Creates an icon theme that controls the properties of descendant widgets, and merges in the current icon theme, if any.
Implementation
static Widget merge({
Key? key,
required IconThemeData data,
required Widget child,
}) {
return Builder(
builder: (BuildContext context) {
return IconTheme(
key: key,
data: _getInheritedIconThemeData(context).merge(data),
child: child,
);
},
);
}