fix: typo

This commit is contained in:
Lucas.Xu 2022-08-09 10:46:51 +08:00
parent 06d11a91d1
commit fdbecd7f10

View File

@ -146,7 +146,7 @@ extension DeltaAttributesExtensions on Attributes {
return null;
}
Color? get hightlightColor {
Color? get highlightColor {
if (containsKey(StyleKey.highlightColor) &&
this[StyleKey.highlightColor] is String) {
return Color(
@ -228,7 +228,7 @@ class RichTextStyle {
}
Color get backgroundColor {
return attributes.hightlightColor ?? Colors.transparent;
return attributes.highlightColor ?? Colors.transparent;
}
// font size