mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Title Editor: Allow the title to expand
Don't just confine it to a single line.
This commit is contained in:
@ -11,7 +11,6 @@ class NoteTitleEditor extends StatelessWidget {
|
||||
|
||||
return TextField(
|
||||
keyboardType: TextInputType.text,
|
||||
maxLines: 1,
|
||||
style: style,
|
||||
decoration: const InputDecoration(
|
||||
hintText: 'Title',
|
||||
@ -20,6 +19,7 @@ class NoteTitleEditor extends StatelessWidget {
|
||||
),
|
||||
controller: textController,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
maxLines: null,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user