EditValueModel constructor
EditValueModel({
- String? tag,
- String? tag2,
- String? suffix,
- String? suffix2,
- double? tagWidth = 90,
- double? tagWidth2 = 90,
- String? hintText,
- String? hintText2,
- Color? valueColor = Colors.black,
- Color? valueColor2 = Colors.black,
- TextInputType? inputType = TextInputType.text,
- TextInputType? inputType2 = TextInputType.text,
- int? maxLines = 1,
- int? maxLines2 = 1,
- ValueChanged<
String> ? onChange, - ValueChanged<
String> ? onChange2, - InputDecoration? inputDecoration,
- InputDecoration? inputDecoration2,
- TextEditingController? controller,
- TextEditingController? controller2,
- bool isEdit = true,
- bool isEdit2 = true,
- bool required = false,
- bool required2 = false,
- FocusNode? focusNode,
- FocusNode? focusNode2,
- Color? tagColor = const Color(0xff63728f),
- Color? tagColor2 = const Color(0xff63728f),
- Color? color = Colors.transparent,
- bool showLine = false,
- Widget? child,
- int? maxLength = 200,
- int? maxLength2 = 200,
- num? maxNum2,
- num? maxNum,
- int? onlyNumValue,
- int? placesLength,
- int? onlyNumValue2,
- int? placesLength2,
- double? fontSize = 16,
- Axis? direction = Axis.horizontal,
- 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,
});