新增毛玻璃主题

This commit is contained in:
DelLevin-Home
2026-08-12 22:28:33 +08:00
parent be3299a0b3
commit ad6ab51afd
78 changed files with 672 additions and 237 deletions

View File

@@ -11,6 +11,7 @@ import '../../widgets/master_detail_scaffold.dart';
import '../../widgets/detail_placeholder.dart';
import 'note_detail_page.dart';
import 'note_add_page.dart';
import '../../widgets/app_overlay.dart';
/// 笔记标签页(分页 + 触底加载)
class NoteTabPage extends StatefulWidget {
@@ -355,7 +356,7 @@ class _NoteTabPageState extends State<NoteTabPage> {
void _showNoteActions(Note note) {
final colors = Theme.of(context).colorScheme;
showModalBottomSheet(
appModalBottomSheet(
context: context,
backgroundColor: colors.surface,
shape: const RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(16))),
@@ -398,7 +399,7 @@ class _NoteTabPageState extends State<NoteTabPage> {
void _showDeleteDialog(Note note) {
final colors = Theme.of(context).colorScheme;
showDialog(
appDialog(
context: context,
builder: (ctx) => AlertDialog(
backgroundColor: colors.surface, elevation: 0,