revert type of FontAttribute to String

pull/31/head
ritheshSalyan 4 years ago
parent 793e5b6660
commit 87ab79c8fd
  1. 4
      lib/models/documents/attribute.dart

@ -202,8 +202,8 @@ class StrikeThroughAttribute extends Attribute<bool> {
StrikeThroughAttribute() : super('strike', AttributeScope.INLINE, true); StrikeThroughAttribute() : super('strike', AttributeScope.INLINE, true);
} }
class FontAttribute extends Attribute<double> { class FontAttribute extends Attribute<String> {
FontAttribute(double val) : super('font', AttributeScope.INLINE, val); FontAttribute(String val) : super('font', AttributeScope.INLINE, val);
} }
class SizeAttribute extends Attribute<String> { class SizeAttribute extends Attribute<String> {

Loading…
Cancel
Save