TextInputBuilder constructor

TextInputBuilder({
  1. required String customId,
  2. required TextInputStyle style,
  3. required String label,
  4. int? minLength,
  5. int? maxLength,
  6. bool? isRequired,
  7. String? value,
  8. String? placeholder,
})

Implementation

TextInputBuilder({
  required this.customId,
  required this.style,
  required this.label,
  this.minLength,
  this.maxLength,
  this.isRequired,
  this.value,
  this.placeholder,
}) : super(type: MessageComponentType.textInput);