mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-15 21:47:23 +00:00
Add credential screen & screen arguments; refactor config screen
This commit is contained in:
parent
af8834f7bd
commit
910bdeae12
9 changed files with 246 additions and 31 deletions
|
|
@ -7,6 +7,8 @@ typedef OnSubmittedBuilder = ValueChanged<String> Function(
|
|||
class TextField extends StatelessWidget {
|
||||
final OnSubmittedBuilder onSubmittedBuilder;
|
||||
final TextEditingController controller;
|
||||
final Widget prefix;
|
||||
final Widget suffix;
|
||||
final bool obscure;
|
||||
final bool autofocus;
|
||||
final bool autocorrect;
|
||||
|
|
@ -21,6 +23,8 @@ class TextField extends StatelessWidget {
|
|||
this.minLines,
|
||||
this.maxLines,
|
||||
this.autocorrect = false,
|
||||
this.prefix,
|
||||
this.suffix,
|
||||
});
|
||||
|
||||
@override
|
||||
|
|
@ -43,6 +47,8 @@ class TextField extends StatelessWidget {
|
|||
autocorrect: autocorrect,
|
||||
minLines: minLines,
|
||||
maxLines: maxLines,
|
||||
prefix: prefix,
|
||||
suffix: suffix,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue