h2Icon method

  1. @override
Widget h2Icon(
  1. AppModel app,
  2. BuildContext context, {
  3. required IconModel icon,
  4. 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);
}