M3ETextField constructor

const M3ETextField({
  1. TextEditingController? controller,
  2. FocusNode? focusNode,
  3. String? label,
  4. String? supportingText,
  5. String? errorText,
  6. Widget? leading,
  7. Widget? trailing,
  8. M3ETextFieldVariant variant = M3ETextFieldVariant.filled,
  9. bool obscureText = false,
  10. bool enabled = true,
  11. TextInputType? keyboardType,
  12. TextInputAction? textInputAction,
  13. ValueChanged<String>? onChanged,
  14. ValueChanged<String>? onSubmitted,
  15. TapRegionCallback? onTapOutside,
  16. int maxLines = 1,
  17. Key? key,
})

M3ETextField.

Implementation

const M3ETextField({
  this.controller,
  this.focusNode,
  this.label,
  this.supportingText,
  this.errorText,
  this.leading,
  this.trailing,
  this.variant = M3ETextFieldVariant.filled,
  this.obscureText = false,
  this.enabled = true,
  this.keyboardType,
  this.textInputAction,
  this.onChanged,
  this.onSubmitted,
  this.onTapOutside,
  this.maxLines = 1,
  super.key,
});