You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
======== Exception caught by widgets library =======================================================The following _TypeError was thrown building NoteView(dirty, dependencies: [_InheritedProviderScope<NoteModel?>], state: NoteViewState#8024f):type '_Map<String, dynamic>' is not a subtype of type 'List<dynamic>'The relevant error-causing widget was: NoteView NoteView:file:///C:/XXXXX/XXXXXXX/project/lib/presentation/screen/notes_screen.dart:97:47When the exception was thrown, this was the stack: #0 NoteViewState.build (package:project/presentation/widget/note_view.dart:28:50)
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Flutter Quill version
9.1.0
Steps to reproduce
flutter pub add flutter_quill
import package : import 'package:flutter_quill/flutter_quill.dart';
final QuillController _controller = QuillController.basic();
final json = jsonDecode(r'{"insert":"hello\n"}');
_controller.document = Document.fromJson(json);
Expected results
Basic Quill editor widget with basic json representation example
Actual results
dart red error displayed
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
The text was updated successfully, but these errors were encountered: