forked from eatvio/eatvio_app
plans filters ready
This commit is contained in:
@@ -40,6 +40,7 @@ class CustomTextFormField extends StatelessWidget {
|
||||
this.counter = const SizedBox.shrink(),
|
||||
super.key,
|
||||
this.hasError = false,
|
||||
this.readOnly = false,
|
||||
});
|
||||
final Widget? counter;
|
||||
final Alignment? alignment;
|
||||
@@ -76,16 +77,18 @@ class CustomTextFormField extends StatelessWidget {
|
||||
final bool expands;
|
||||
final TextAlignVertical? textAlignVertical;
|
||||
final bool hasError;
|
||||
final bool readOnly;
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Align(
|
||||
alignment: alignment ?? Alignment.center,
|
||||
child: TextFormField(
|
||||
child: TextFormField(
|
||||
readOnly: readOnly,
|
||||
textAlignVertical: textAlignVertical,
|
||||
expands: expands,
|
||||
minLines: minLines,
|
||||
maxLength: maxLength,
|
||||
onChanged: onChanged,
|
||||
onChanged: onChanged,
|
||||
controller: controller,
|
||||
focusNode: focusNode ?? null,
|
||||
autofocus: autofocus,
|
||||
|
||||
Reference in New Issue
Block a user