OpenTextInput constructor

OpenTextInput({
  1. Key? key,
  2. required void onSubmitted(
    1. String
    ),
  3. required void onChanged(
    1. String
    ),
  4. required String label,
  5. required double width,
  6. TextEditingController? controller,
  7. int minLines = 1,
  8. int? maxLines = 1,
  9. String placeholder = '',
  10. String defaultValue = "",
})

Implementation

OpenTextInput({
  Key? key,
  required this.onSubmitted,
  required this.onChanged,
  required this.label,
  required this.width,
  this.controller,
  this.minLines = 1,
  this.maxLines = 1,
  this.placeholder = '',
  this.defaultValue = "",
}) : super(key: key);