InputItem constructor

InputItem({
  1. required dynamic onChanged(
    1. String
    ),
  2. required String hintText,
  3. required TextStyle style,
  4. required TextStyle hintStyle,
  5. Color? color,
  6. double borderWidth = 0.5,
  7. EdgeInsetsGeometry? padding,
  8. TextAlign textAlign = TextAlign.start,
  9. TextInputType textInputType = TextInputType.text,
  10. TextEditingController? controller,
  11. Key? key,
})

Implementation

InputItem(
    {required this.onChanged,
    required this.hintText,
    required this.style,
    required this.hintStyle,
    this.color,
    this.borderWidth = 0.5,
    this.padding,
    this.textAlign = TextAlign.start,
    this.textInputType = TextInputType.text,
    this.controller,
    Key? key})
    : super(key: key);