IconTextField constructor
IconTextField({
- Key? key,
- String? text,
- String? placeholder,
- bool prefixIconSelectedCallback(
- String currentText
- required String prefixIconNormalImageName,
- required String prefixIconSelectedImageName,
- String? package,
- TextStyle? style,
- bool? autofocus = false,
- bool? obscureText = false,
- TextInputType? keyboardType,
- TextEditingController? controller,
- bool? showClear = false,
- TextInputAction? textInputAction,
- FocusNode? focusNode,
- ValueChanged<
String> ? onSubmitted,
Implementation
IconTextField({
Key? key,
this.text,
this.placeholder,
/// prefix icon
this.prefixIconSelectedCallback,
required this.prefixIconNormalImageName,
required this.prefixIconSelectedImageName,
this.package,
this.style,
this.autofocus = false,
this.obscureText = false,
this.keyboardType,
this.controller,
this.showClear = false,
this.textInputAction,
this.focusNode,
this.onSubmitted,
}) : super(
key: key,
);