DInputPassword constructor

const DInputPassword({
  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. String? obsecureCharacter,
  15. Color? fillColor,
  16. BorderRadius? radius,
  17. EdgeInsetsGeometry? contentPadding = const EdgeInsets.fromLTRB(16, 12, 16, 12),
  18. TextStyle? style,
  19. bool autofocus = false,
  20. TextAlign textAlign = TextAlign.start,
})

Implementation

const DInputPassword({
  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.obsecureCharacter,
  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);