You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Flutter笔记无法显示求助:SQLite列名拼写错误问题

Flutter笔记无法显示:SQLite表缺少is_sycned_with_cloud列

我是编程和Stack Overflow的新手,正在学习FreeCodeCamp.org的37小时Flutter入门课程,在课程约21:46:23处遇到问题:在「New Note」页面输入的内容无法显示在主页面「Your Notes」上。我跟进到课程21:51:02的内容后返回主页面,问题依然存在。

调试控制台输出如下:

I/flutter ( 9892): []
E/SQLiteLog( 9892): (1) table note has no column named is_sycned_with_cloud in "INSERT INTO note (user_id, text, is_sycned_with_cloud) VALUES (?, ?, ?)"

已卡在此处数日,无法解决,附上相关代码:

new_note_view.dart

// 请粘贴new_note_view.dart的代码内容

notes_view.dart

// 请粘贴notes_view.dart的代码内容

notes_service.dart

// 请粘贴notes_service.dart的代码内容

若需要其他文件代码请告知,感谢帮助。

内容的提问来源于stack exchange,提问作者JoelCodes

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 17:55:56