AppTextField constructor

const AppTextField({
  1. Key? key,
  2. dynamic onChanged(
    1. String? value
    )?,
  3. bool isVerticalAlign = true,
  4. String? title,
  5. TextEditingController? controller,
  6. TextStyle? contentStyle,
  7. TextStyle? labelStyle,
  8. int? maxLines,
  9. bool autoFocus = false,
  10. EdgeInsets contentPadding = InputConstants.contentPadding,
})

Implementation

const AppTextField(
    {super.key,
    this.onChanged,
    this.isVerticalAlign = true,
    this.title,
    this.controller,
    this.contentStyle,
    this.labelStyle,
    this.maxLines,
    this.autoFocus = false,
    this.contentPadding = InputConstants.contentPadding});