Pipe onsubmit for text form fields (#13687)
This commit is contained in:
@@ -184,6 +184,7 @@ class TextFormFieldDemoState extends State<TextFormFieldDemo> {
|
||||
labelText: 'Re-type Password *',
|
||||
),
|
||||
obscureText: true,
|
||||
onFieldSubmitted: (String value) { _handleSubmitted(); },
|
||||
validator: _validatePassword,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user