textStyle property
TextStyle
textStyle
Implementation
TextStyle get textStyle {
TextStyle? result = _currentTheme[this] as TextStyle?;
result ??= _defaultTheme[this] as TextStyle?;
result ??= defaultTextStyle;
if (result == null) throw ConstThemeException('Theme text-style "$id" is not defined.');
if (_transformTextStyle != null) result = _transformTextStyle!(result);
return result;
}