diff --git a/lib/widgets/controller.dart b/lib/widgets/controller.dart index 942f2c94..9bfe8f71 100644 --- a/lib/widgets/controller.dart +++ b/lib/widgets/controller.dart @@ -13,7 +13,7 @@ class QuillController extends ChangeNotifier { TextSelection selection; Style toggledStyle = Style(); - QuillController({@required this.document, @required this.selection, this.toggledStyle}) + QuillController({@required this.document, @required this.selection}) : assert(document != null), assert(selection != null);