CDKFieldText constructor
const
CDKFieldText({
- Key? key,
- bool isRounded = false,
- bool obscureText = false,
- String placeholder = '',
- ValueChanged<
String> ? onChanged, - ValueChanged<
String> ? onSubmitted, - TextEditingController? controller,
- FocusNode? focusNode,
- double? textSize = 12,
- IconData? prefixIcon,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - bool enabled = true,
- Function? onFocusChanged,
- TextAlign textAlign = TextAlign.left,
Implementation
const CDKFieldText({
Key? key,
this.isRounded = false,
this.obscureText = false,
this.placeholder = '',
this.onChanged,
this.onSubmitted,
this.controller,
this.focusNode,
this.textSize = 12,
this.prefixIcon,
this.keyboardType,
this.inputFormatters,
this.enabled = true,
this.onFocusChanged,
this.textAlign = TextAlign.left,
}) : super(key: key);