EditValueModel constructor

EditValueModel({
  1. String? tag,
  2. String? tag2,
  3. String? suffix,
  4. String? suffix2,
  5. double? tagWidth = 90,
  6. double? tagWidth2 = 90,
  7. String? hintText,
  8. String? hintText2,
  9. Color? valueColor = Colors.black,
  10. Color? valueColor2 = Colors.black,
  11. TextInputType? inputType = TextInputType.text,
  12. TextInputType? inputType2 = TextInputType.text,
  13. int? maxLines = 1,
  14. int? maxLines2 = 1,
  15. ValueChanged<String>? onChange,
  16. ValueChanged<String>? onChange2,
  17. InputDecoration? inputDecoration,
  18. InputDecoration? inputDecoration2,
  19. TextEditingController? controller,
  20. TextEditingController? controller2,
  21. bool isEdit = true,
  22. bool isEdit2 = true,
  23. bool required = false,
  24. bool required2 = false,
  25. FocusNode? focusNode,
  26. FocusNode? focusNode2,
  27. Color? tagColor = const Color(0xff63728f),
  28. Color? tagColor2 = const Color(0xff63728f),
  29. Color? color = Colors.transparent,
  30. bool showLine = false,
  31. Widget? child,
  32. int? maxLength = 200,
  33. int? maxLength2 = 200,
  34. num? maxNum2,
  35. num? maxNum,
  36. int? onlyNumValue,
  37. int? placesLength,
  38. int? onlyNumValue2,
  39. int? placesLength2,
  40. double? fontSize = 16,
  41. Axis? direction = Axis.horizontal,
  42. TagCellStyle? style = TagCellStyle.style2,
})

Implementation

EditValueModel({
  this.tag,
  this.tag2,
  this.suffix,
  this.suffix2,
  this.tagWidth = 90,
  this.tagWidth2 = 90,
  this.hintText,
  this.hintText2,
  this.valueColor = Colors.black,
  this.valueColor2 = Colors.black,
  this.inputType = TextInputType.text,
  this.inputType2 = TextInputType.text,
  this.maxLines = 1,
  this.maxLines2 = 1,
  this.onChange,
  this.onChange2,
  this.inputDecoration,
  this.inputDecoration2,
  this.controller,
  this.controller2,
  this.isEdit = true,
  this.isEdit2 = true,
  this.required = false,
  this.required2 = false,
  this.focusNode,
  this.focusNode2,
  this.tagColor = const Color(0xff63728f),
  this.tagColor2 = const Color(0xff63728f),
  this.color = Colors.transparent,
  this.showLine = false,
  this.child,
  this.maxLength = 200,
  this.maxLength2 = 200,
  this.maxNum2,
  this.maxNum,
  this.onlyNumValue,
  this.placesLength,
  this.onlyNumValue2,
  this.placesLength2,
  this.fontSize = 16,
  this.direction = Axis.horizontal,
  this.style = TagCellStyle.style2,
});