TextfieldWidget constructor

const TextfieldWidget({
  1. Key? key,
  2. required Widget child,
  3. TextEditingController? controller,
  4. String? labelTitulo,
  5. bool? tituloColorPrimario = true,
  6. String? hintText,
  7. dynamic onChanged(
    1. String
    )?,
  8. dynamic onSubmitted(
    1. String
    )?,
  9. double? maxWidth,
  10. FocusNode? focusNode,
  11. bool? isDense,
  12. Widget? leftWidget,
  13. Widget? rightWidget,
  14. bool? disabled,
  15. bool? tituloNegrita = !kIsWeb,
})

textfields

Implementation

const TextfieldWidget({
  super.key,
  required this.child,
  this.controller,
  this.labelTitulo,
  this.tituloColorPrimario = true,
  this.hintText,
  this.onChanged,
  this.onSubmitted,
  this.maxWidth,
  this.focusNode,
  this.isDense,
  this.leftWidget,
  this.rightWidget,
  this.disabled,
  this.tituloNegrita = !kIsWeb,
});