Textfield constructor

const Textfield({
  1. Key? key,
  2. String? title,
  3. TextEditingController? ctrl,
  4. bool? obscureText,
  5. Widget? sufixIcon,
  6. Widget? prefixIcon,
  7. Color borderColor = Colors.blue,
  8. String? borderTitle,
  9. int? maxLines,
  10. TextInputType? keyboardType,
  11. dynamic onChanged(
    1. String
    )?,
  12. FocusNode? focusNode,
})

Implementation

const Textfield({
  super.key,
  this.title,
  this.ctrl,
  this.obscureText,
  this.sufixIcon,
  this.prefixIcon,
  this.borderColor = Colors.blue,
  this.borderTitle,
  this.maxLines,
  this.keyboardType,
  this.onChanged,
  this.focusNode,
});