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( Expanded(
child: SingleChildScrollView(
child: Padding( child: Padding(
padding: const EdgeInsets.all(20), padding: const EdgeInsets.all(20),
child: Column( child: Column(
@@ -279,9 +278,12 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
), ),
), ),
const SizedBox(height: 16), const SizedBox(height: 16),
TextField( Expanded(
child: TextField(
controller: _bodyController, controller: _bodyController,
keyboardType: TextInputType.multiline,
maxLines: null, maxLines: null,
expands: true,
style: const TextStyle( style: const TextStyle(
color: Colors.white, color: Colors.white,
fontSize: 16, fontSize: 16,
@@ -294,8 +296,8 @@ class _NoteEditorScreenState extends State<NoteEditorScreen> {
contentPadding: EdgeInsets.zero, contentPadding: EdgeInsets.zero,
), ),
), ),
],
), ),
],
), ),
), ),
), ),