CustomMultilineInputText constructor

const CustomMultilineInputText({
  1. Key? key,
  2. TextEditingController? controller,
  3. bool readOnly = false,
  4. String? hint,
  5. bool? filled,
  6. Color? fillColor,
  7. FocusNode? focusNode,
  8. Color? borderColor = null,
  9. Widget? prefixIcon,
  10. double height = 120,
  11. dynamic onChanged(
    1. String
    )?,
  12. FormFieldValidator<String>? validator,
})

Implementation

const CustomMultilineInputText({
  super.key,
  super.controller,
  super.readOnly,
  String? hint,
  bool? filled,
  Color? fillColor,
  super.focusNode,
  super.borderColor = null,
  Widget? prefixIcon, // ✅ optional
  double super.height = 120,
  super.onChanged,
  super.validator,
}) : super(
  hintText: hint,
  maxLines: 5,
  keyBoardType: TextInputType.multiline,
  prefixWidget: prefixIcon,
  filled: filled,
  fillColor: fillColor,
);