LocationInputField constructor
const
LocationInputField({
- Key? key,
- required TextEditingController controller,
- bool obscureText = false,
- bool enabled = true,
- void onChanged()?,
- void onEditingComplete()?,
- void onSubmitted()?,
- void onTap()?,
- void onPrefixIconTap()?,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - bool? enableInteractiveSelection,
- TextInputAction? textInputAction,
- int? maxLength,
- int maxLines = 1,
- Widget? prefixIcon,
- Widget? prefix,
- Widget? suffix,
- bool? errorFlag = false,
- String? errorMessage = '',
- double? height,
- double? width,
- String? hintText,
- Widget? label,
- TextCapitalization textCapitalization = TextCapitalization.none,
Implementation
const LocationInputField({Key? key,
required this.controller,
this.obscureText=false,
this.enabled=true,
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.onTap,
this.onPrefixIconTap,
this.keyboardType,
this.inputFormatters,
this.enableInteractiveSelection,
this.textInputAction,
this.maxLength,
this.maxLines=1,
this.prefixIcon,
this.prefix,
this.suffix,
this.errorFlag=false,
this.errorMessage='',
this.height,
this.width,
this.hintText,
this.label,
this.textCapitalization = TextCapitalization.none
}) : super(key: key);