Fix formatting

pull/87/head
Miller Adulu 4 years ago
commit 933a17eafb
  1. 4
      lib/models/documents/style.dart
  2. 4
      lib/models/quill_delta.dart
  3. 2
      lib/widgets/editor.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);
}

@ -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);

@ -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,

Loading…
Cancel
Save