MephistoTextarea constructor

const MephistoTextarea({
  1. Key? key,
  2. String? label,
  3. Function? onChange,
  4. Function? onShowText,
  5. TextInputType? inputType,
  6. bool? isLastField = false,
  7. bool? isExpanded = false,
  8. int? maxLines = 3,
  9. String? initialValue = "",
  10. String? placeholder,
  11. IconData? prefixIcon,
  12. dynamic validator(
    1. String? value
    )?,
  13. TextEditingController? controller,
})

Implementation

const MephistoTextarea(
    {super.key,
    this.label,
    this.onChange,
    this.onShowText,
    this.inputType,
    this.isLastField = false,
    this.isExpanded = false,
    this.maxLines = 3,
    this.initialValue = "",
    // this.fillColor = neutralBgColor2,
    this.placeholder,
    this.prefixIcon,
    this.validator,
    this.controller});