diff --git a/lib/models/documents/style.dart b/lib/models/documents/style.dart index 7f7391b2..7b9b050b 100644 --- a/lib/models/documents/style.dart +++ b/lib/models/documents/style.dart @@ -100,8 +100,8 @@ class Style { @override int get hashCode { - final hashes = _attributes.entries - .map((entry) => hash2(entry.key, entry.value)); + final hashes = + _attributes.entries.map((entry) => hash2(entry.key, entry.value)); return hashObjects(hashes); } diff --git a/lib/models/quill_delta.dart b/lib/models/quill_delta.dart index eea1f83f..bced9b88 100644 --- a/lib/models/quill_delta.dart +++ b/lib/models/quill_delta.dart @@ -154,8 +154,8 @@ class Operation { @override int get hashCode { if (_attributes != null && _attributes!.isNotEmpty) { - final attrsHash = hashObjects( - _attributes!.entries.map((e) => hash2(e.key, e.value))); + final attrsHash = + hashObjects(_attributes!.entries.map((e) => hash2(e.key, e.value))); return hash3(key, value, attrsHash); } return hash2(key, value); diff --git a/lib/widgets/editor.dart b/lib/widgets/editor.dart index 607be1e8..12b698bf 100644 --- a/lib/widgets/editor.dart +++ b/lib/widgets/editor.dart @@ -162,7 +162,7 @@ class QuillEditor extends StatefulWidget { QuillEditor( {Key? key, - required this.controller, + required this.controller, required this.focusNode, required this.scrollController, required this.scrollable,