DInput constructor

const DInput({
  1. Key? key,
  2. required TextEditingController controller,
  3. String? label,
  4. String? title,
  5. bool? isRequired,
  6. String? hint,
  7. DValidator? validator,
  8. TextInputType? inputType,
  9. int? maxLine,
  10. int? minLine,
  11. OnTap? onTap,
  12. OnChange? onChanged,
  13. double? spaceTitle,
  14. Color? fillColor,
  15. BorderRadius? radius,
  16. EdgeInsetsGeometry? contentPadding = const EdgeInsets.fromLTRB(16, 12, 16, 12),
  17. TextStyle? style,
  18. bool autofocus = false,
  19. TextAlign textAlign = TextAlign.start,
})

Implementation

const DInput({
  Key? key,
  required this.controller,
  this.label,
  this.title,
  this.isRequired,
  this.hint,
  this.validator,
  this.inputType,
  this.maxLine,
  this.minLine,
  this.onTap,
  this.onChanged,
  this.spaceTitle,
  this.fillColor,
  this.radius,
  this.contentPadding = const EdgeInsets.fromLTRB(16, 12, 16, 12),
  this.style,
  this.autofocus = false,
  this.textAlign = TextAlign.start,
}) : super(key: key);