feat:增加主题色存储本地的功能

This commit is contained in:
2025-11-12 15:17:20 +08:00
parent 0291039666
commit 011a4d05df
11 changed files with 442 additions and 369 deletions

View File

@@ -82,6 +82,7 @@ class _TodoFormState extends State<TodoForm> {
),
),
hintText: '请输入待办事项标题...',
hintStyle: TextStyle(color: Colors.grey),
counterText: '',
suffixText: '${provider.formItem.title.length}/$maxTitleCount',
border: OutlineInputBorder(
@@ -126,6 +127,7 @@ class _TodoFormState extends State<TodoForm> {
decoration: InputDecoration(
labelText: '内容',
hintText: '请输入待办事项内容...',
hintStyle: TextStyle(color: Colors.grey),
counterText: '',
suffixText: '${provider.formItem.content.length}/$maxContentCount',
border: OutlineInputBorder(