buildPassword method
Implementation
Widget buildPassword(
String key,
TextEditingController controller,
Function(String?) onChanged,
String? Function(String?) validator,
) {
var inputDecoration =
options.inputDecorationField?[key] ?? options.inputDecoration;
return FlutterFormInputPassword(
controller: controller,
style: options.inputTextStyle,
decoration: inputDecoration,
onChanged: onChanged,
enabled: !options.readOnly,
validator: (value) =>
validator(value) ?? options.validators?[key]?.call(value),
);
}