Add Device Settings page

This commit is contained in:
Christian Pauly
2020-02-19 16:23:13 +01:00
parent 9a52e93862
commit fff216c46c
11 changed files with 310 additions and 10 deletions

View File

@ -14,6 +14,7 @@ class SimpleDialogs {
String labelText,
String prefixText,
String suffixText,
bool password = false,
bool multiLine = false,
}) async {
final TextEditingController controller = TextEditingController();
@ -31,6 +32,7 @@ class SimpleDialogs {
},
minLines: multiLine ? 3 : 1,
maxLines: multiLine ? 3 : 1,
obscureText: password,
textInputAction: multiLine ? TextInputAction.newline : null,
decoration: InputDecoration(
hintText: hintText,