get_LabelStyle property
TextStyle
get_LabelStyle
Implementation
TextStyle get get_LabelStyle {
TextStyle styOriginal = XStyles.xStyTextForLabel(fontSize: widget.fontSize_All, textColor: getColoFor_TextAndDecoration(value: selectedItem_UI), activeBold: false);
late TextStyle style;
if (widget.label_Style == null) {
style = styOriginal;
} else {
style = XStyles.xStyTextForLabel(
fontSize: widget.label_Style!.fontSize ?? styOriginal.fontSize,
textColor: widget.label_Style!.color ?? styOriginal.color,
activeBold: widget.label_Style!.fontWeight == FontWeight.bold,
);
}
return style;
}