Add Device Settings page
This commit is contained in:
parent
9a52e93862
commit
fff216c46c
11 changed files with 310 additions and 10 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue