CDKFieldText constructor

const CDKFieldText(
  1. {Key? key,
  2. bool isRounded = false,
  3. bool obscureText = false,
  4. String placeholder = '',
  5. ValueChanged<String>? onChanged,
  6. ValueChanged<String>? onSubmitted,
  7. TextEditingController? controller,
  8. FocusNode? focusNode,
  9. double? textSize = 12,
  10. IconData? prefixIcon,
  11. TextInputType? keyboardType,
  12. List<TextInputFormatter>? inputFormatters,
  13. bool enabled = true,
  14. Function? onFocusChanged,
  15. 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);