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