getIconExcl method
Implementation
Widget getIconExcl(
AppModel app, BuildContext context, AbstractMenuItemAttributes item) {
if (item.icon != null) {
return item.isActive
? _monaStyle
.frontEndStyle()
.iconStyle()
.h3Icon(app, context, icon: item.icon!)
: _monaStyle
.frontEndStyle()
.iconStyle()
.h4Icon(app, context, icon: item.icon!);
} else {
Color? color;
TextStyle? style;
if (item.isActive) {
style = FontTools.textStyle(_monaStyle.monaStyleAttributesModel.h3);
} else {
style = FontTools.textStyle(_monaStyle.monaStyleAttributesModel.h4);
}
color = style?.color;
return Icon(Icons.circle, color: color);
}
}