forked from eatvio/eatvio_app
Autocomplete product names
This commit is contained in:
@@ -29,6 +29,7 @@ class CustomTextFormField extends StatelessWidget {
|
||||
this.filled = true,
|
||||
this.validator,
|
||||
this.keyboardType,
|
||||
this.onChanged,
|
||||
this.onSaved,
|
||||
}) : super(
|
||||
key: key,
|
||||
@@ -84,6 +85,8 @@ class CustomTextFormField extends StatelessWidget {
|
||||
|
||||
final void Function(String?)? onSaved;
|
||||
|
||||
final ValueChanged<String>? onChanged;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return alignment != null
|
||||
@@ -108,6 +111,7 @@ class CustomTextFormField extends StatelessWidget {
|
||||
validator: validator,
|
||||
keyboardType: keyboardType,
|
||||
onSaved: onSaved,
|
||||
onChanged: onChanged,
|
||||
inputFormatters: inputFormatters,
|
||||
initialValue: initialValue,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user