Skip to content

Commit

Permalink
Update dependencies in pubspec.yaml and pubspec.lock to fix build err…
Browse files Browse the repository at this point in the history
…ors (#22)

* Update dependencies in pubspec.yaml and pubspec.lock to fix build errors

* Fix minLines and maxLines validation in TextFormField
  • Loading branch information
Norio4 committed Jul 3, 2023
1 parent f58aa57 commit 2429dee
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 263 deletions.
2 changes: 1 addition & 1 deletion lib/src/impl/widgets/io_editor/code_editor_wrapper.dart
Expand Up @@ -44,7 +44,7 @@ class CodeEditorWrapper extends ConsumerWidget {
);
} else {
return TextFormField(
maxLines: settings.textEditorWrap ? null : 10,
maxLines: settings.textEditorWrap ? null : (minLines! + 1),
style: TextStyle(
fontFamily: settings.textEditorFontFamily,
fontSize: settings.textEditorFontSize,
Expand Down

0 comments on commit 2429dee

Please sign in to comment.