forked from eatvio/eatvio_app
Successfully passsed data between screens and imported UserRegistrationSheet for all screens
This commit is contained in:
@@ -25,6 +25,7 @@ class CustomTextFormField extends StatelessWidget {
|
||||
this.fillColor,
|
||||
this.filled = true,
|
||||
this.validator,
|
||||
this.onSaved,
|
||||
}) : super(
|
||||
key: key,
|
||||
);
|
||||
@@ -71,6 +72,8 @@ class CustomTextFormField extends StatelessWidget {
|
||||
|
||||
final FormFieldValidator<String>? validator;
|
||||
|
||||
final void Function(String?)? onSaved;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return alignment != null
|
||||
@@ -94,6 +97,7 @@ class CustomTextFormField extends StatelessWidget {
|
||||
maxLines: maxLines ?? 1,
|
||||
decoration: decoration,
|
||||
validator: validator,
|
||||
onSaved: onSaved,
|
||||
),
|
||||
);
|
||||
InputDecoration get decoration => InputDecoration(
|
||||
|
||||
Reference in New Issue
Block a user