BoxField constructor

BoxField({
  1. Key? key,
  2. String? hint,
  3. ValueChanged<String>? onChange,
  4. double? paddignL,
  5. bool isPhone = false,
  6. bool isSecure = false,
  7. String? initText,
  8. num fontSize = 14.0,
  9. double? w,
  10. TextAlign align = TextAlign.start,
  11. Decoration? decoration,
  12. double? h,
  13. int maxLines = 1,
  14. bool isCenter = true,
  15. Color hintColor = UIData.textGN,
  16. ValueChanged<String>? onComplete,
  17. int? maxLen,
  18. bool isNumber = false,
  19. TextInputType? inputType,
  20. List<TextInputFormatter> inputFormatters = const [],
  21. TextEditingController? controller,
  22. Color textColor = UIData.black,
  23. bool isUnsignedInteger = false,
  24. TextInputAction? imeAction,
  25. bool hasNext = false,
})

Implementation

BoxField(
    {Key? key,
    this.hint,
    this.onChange,
    this.paddignL,
    this.isPhone = false,
    this.isSecure = false,
    this.initText,
    this.fontSize = 14.0,
    this.w,
    this.align = TextAlign.start,
    this.decoration,
    this.h,
    this.maxLines = 1,
    this.isCenter = true,
    this.hintColor = UIData.textGN,
    this.onComplete,
    this.maxLen,
    this.isNumber = false,
    this.inputType,
    this.inputFormatters = const [],
    this.controller,
    this.textColor = UIData.black,
    this.isUnsignedInteger = false,
    this.imeAction,
    this.hasNext = false})
    : super(key: key);