h2Icon method
Widget
h2Icon(
- AppModel app,
- BuildContext context, {
- required IconModel icon,
- String? semanticLabel,
override
Implementation
@override
Widget h2Icon(AppModel app, BuildContext context,
{required IconModel icon, String? semanticLabel}) {
var style = FontTools.textStyle(_monaStyle.monaStyleAttributesModel.h2);
return IconHelper.getIconFromModelWithFlutterColor(
iconModel: icon, color: style?.color, semanticLabel: semanticLabel);
}