diff --git a/lib/screens/note_editor_screen.dart b/lib/screens/note_editor_screen.dart index 84bb7de..63f3557 100644 --- a/lib/screens/note_editor_screen.dart +++ b/lib/screens/note_editor_screen.dart @@ -258,30 +258,32 @@ class _NoteEditorScreenState extends State { ), ), Expanded( - child: SingleChildScrollView( - child: Padding( - padding: const EdgeInsets.all(20), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - TextField( - controller: _titleController, - style: const TextStyle( - color: Colors.white, - fontSize: 28, - fontWeight: FontWeight.bold, - ), - decoration: const InputDecoration( - hintText: 'Título', - hintStyle: TextStyle(color: Colors.white30), - border: InputBorder.none, - contentPadding: EdgeInsets.zero, - ), + child: Padding( + padding: const EdgeInsets.all(20), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + TextField( + controller: _titleController, + style: const TextStyle( + color: Colors.white, + fontSize: 28, + fontWeight: FontWeight.bold, ), - const SizedBox(height: 16), - TextField( + decoration: const InputDecoration( + hintText: 'Título', + hintStyle: TextStyle(color: Colors.white30), + border: InputBorder.none, + contentPadding: EdgeInsets.zero, + ), + ), + const SizedBox(height: 16), + 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 { contentPadding: EdgeInsets.zero, ), ), - ], - ), + ), + ], ), ), ),