DynamicTextField constructor
const
DynamicTextField({
- required TextEditingController textDynamicController,
- required String title,
- String? titleList,
- String? hintSearch,
- required String hint,
- List<
SelectedItem> ? listItem, - FieldType? fieldtype = FieldType.input,
- FormType? formType = FormType.basic,
- InputDecoration? inputDecoration,
- Color? backgroundColor,
- String? validator()?,
- void onChanged()?,
- void onSaved()?,
- AutovalidateMode? autovalidateMode,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- int? maxLength,
- Key? key,
Implementation
const DynamicTextField({
required this.textDynamicController,
required this.title,
this.titleList,
this.hintSearch,
required this.hint,
this.listItem,
this.fieldtype = FieldType.input,
this.formType = FormType.basic,
this.inputDecoration,
this.backgroundColor,
this.validator,
this.onChanged,
this.onSaved,
this.autovalidateMode,
this.keyboardType,
this.textInputAction,
this.maxLength,
Key? key,
}) : super(key: key);