From 87ab79c8fd83d7df07106107c3e6304fa1291c26 Mon Sep 17 00:00:00 2001 From: ritheshSalyan Date: Fri, 19 Feb 2021 23:50:02 +0530 Subject: [PATCH] revert type of FontAttribute to String --- lib/models/documents/attribute.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/models/documents/attribute.dart b/lib/models/documents/attribute.dart index 1e2cb97b..cd152e53 100644 --- a/lib/models/documents/attribute.dart +++ b/lib/models/documents/attribute.dart @@ -202,8 +202,8 @@ class StrikeThroughAttribute extends Attribute { StrikeThroughAttribute() : super('strike', AttributeScope.INLINE, true); } -class FontAttribute extends Attribute { - FontAttribute(double val) : super('font', AttributeScope.INLINE, val); +class FontAttribute extends Attribute { + FontAttribute(String val) : super('font', AttributeScope.INLINE, val); } class SizeAttribute extends Attribute {