Error

E/flutter (29886): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unsupported operation: read-only

E/flutter (29886): #0 QueryRow.[]= (package:sqflite_common/src/collection_utils.dart:152:5)

E/flutter (29886): #1 MapBase.addAll. (dart:collection/maps.dart:41:11)

E/flutter (29886): #2 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)

E/flutter (29886): #3 MapBase.addAll (dart:collection/maps.dart:40:11)

E/flutter (29886): #4 DBPost.loadPostList (package:timy_note/db/db_post.dart:60:30)

E/flutter (29886):

E/flutter (29886): #5 _PostPageState.build. (package:timy_note/pages/post_page.dart:74:17)

E/flutter (29886):

E/flutter (29886):

Solution

Convert your uneditable data type to editable data type.