AI 接入 V1.0

UI更新
This commit is contained in:
2026-09-24 14:24:34 +08:00
parent 34bc2e04b0
commit 9a144f159f
65 changed files with 1195 additions and 196 deletions
+5 -4
View File
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import '../../models/note.dart';
import '../../widgets/cute_icon.dart';
/// 目录选择面板
///
@@ -114,7 +115,7 @@ class _FolderPickerSheetState extends State<FolderPickerSheet> {
children: [
if (widget.showAll)
_row(
icon: '📚',
icon: 'education',
name: '全部',
count: widget.tree.totalCount,
depth: 0,
@@ -122,7 +123,7 @@ class _FolderPickerSheetState extends State<FolderPickerSheet> {
onTap: () => Navigator.pop(context, NoteLocation.all),
),
_row(
icon: '📥',
icon: 'income',
name: '未分类',
count: widget.tree.uncategorizedCount,
depth: 0,
@@ -153,7 +154,7 @@ class _FolderPickerSheetState extends State<FolderPickerSheet> {
mainAxisSize: MainAxisSize.min,
children: [
_row(
icon: (open && hasChildren) ? '📂' : '📁',
icon: (open && hasChildren) ? 'folder-open' : 'folder',
name: node.name,
count: node.noteCount,
depth: depth,
@@ -221,7 +222,7 @@ class _FolderPickerSheetState extends State<FolderPickerSheet> {
),
child: Row(
children: [
Text(icon, style: const TextStyle(fontSize: 15)),
CuteIcon(icon, size: 17),
const SizedBox(width: 10),
Expanded(
child: Text(