feat: Multiline dialog text field

This commit is contained in:
Christian Pauly 2020-11-27 11:30:21 +01:00
parent ff74d47463
commit 8d05a83970
3 changed files with 4 additions and 2 deletions

View File

@ -107,6 +107,8 @@ class _ChatDetailsState extends State<ChatDetails> {
DialogTextField( DialogTextField(
hintText: L10n.of(context).setGroupDescription, hintText: L10n.of(context).setGroupDescription,
initialText: widget.room.topic, initialText: widget.room.topic,
minLines: 1,
maxLines: 4,
) )
], ],
); );

View File

@ -14,7 +14,7 @@ packages:
name: adaptive_dialog name: adaptive_dialog
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.9.1" version: "0.9.2"
analyzer: analyzer:
dependency: transitive dependency: transitive
description: description:

View File

@ -39,7 +39,7 @@ dependencies:
open_file: ^3.0.3 open_file: ^3.0.3
mime_type: ^0.3.2 mime_type: ^0.3.2
flushbar: ^1.10.4 flushbar: ^1.10.4
adaptive_dialog: ^0.9.1 adaptive_dialog: ^0.9.2
flutter_matrix_html: ^0.1.13 flutter_matrix_html: ^0.1.13
moor: ^3.4.0 moor: ^3.4.0
sqlite3_flutter_libs: ^0.2.0 sqlite3_flutter_libs: ^0.2.0