refactor: Enhance category handling in note editor and card components

This commit is contained in:
2026-07-02 12:52:41 +02:00
parent 78dddd571a
commit f662e59547
3 changed files with 445 additions and 106 deletions
+21 -4
View File
@@ -231,10 +231,27 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
return editor;
}
return Scaffold(
backgroundColor: palette.cardBackground,
appBar: AppBar(title: const Text('Editar nota')),
body: SafeArea(child: editor),
return Container(
decoration: BoxDecoration(gradient: palette.backdropGradient),
child: Scaffold(
backgroundColor: Colors.transparent,
appBar: AppBar(
title: const Text('Editar nota'),
backgroundColor: Colors.transparent,
elevation: 0,
bottom: PreferredSize(
preferredSize: const Size.fromHeight(1),
child: Container(
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(color: palette.border, width: 0.5),
),
),
),
),
),
body: SafeArea(child: editor),
),
);
}
}