feat: Refactor NoteEditorScreen layout for improved text field handling and UI consistency

This commit is contained in:
2026-05-19 18:48:03 +02:00
parent 59a5229e46
commit 72afa7b5fe
+5 -3
View File
@@ -258,7 +258,6 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
),
),
Expanded(
child: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.all(20),
child: Column(
@@ -279,9 +278,12 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
),
),
const SizedBox(height: 16),
TextField(
Expanded(
child: TextField(
controller: _bodyController,
keyboardType: TextInputType.multiline,
maxLines: null,
expands: true,
style: const TextStyle(
color: Colors.white,
fontSize: 16,
@@ -294,8 +296,8 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
contentPadding: EdgeInsets.zero,
),
),
],
),
],
),
),
),