Control constructor
Control({
- required RxString title,
- required List listData,
- required String id,
- bool ocr = false,
- bool userbuy = false,
- required bool required,
- required TypeInputForm typeInput,
- TextInputType keyType = TextInputType.text,
- required RxString value,
- BuildContext? context,
- bool isSearch = true,
- bool? isShowDK = true,
- bool? isShowDKiem = true,
- FormatValuePresent formatShow = FormatValuePresent.Normal,
- required int flex,
- bool isShowCCCD = true,
- int indexRow = 0,
- bool notValidate = false,
- String icon = "",
- int? maxlength,
- required RxBool enabled,
- bool isShowView = true,
- bool isMinDateCurrent = false,
- String keyGetValueForShow = "MA",
- String keyGetValueForID = "MA",
- bool isDouble = false,
- TypeChildInputForm typeChildInput = TypeChildInputForm.datePicker,
- bool isLastRow = false,
- String keyGetListDataFormStart = '',
- dynamic style,
- bool isFirstRow = false,
Implementation
Control(
{required this.title,
required this.listData,
required this.id,
this.ocr = false,
this.userbuy = false,
required this.required,
// required this.defaultValue,
required this.typeInput,
this.keyType = TextInputType.text,
required this.value,
this.context,
this.isSearch = true,
this.isShowDK = true,
this.isShowDKiem = true,
this.formatShow = FormatValuePresent.Normal,
required this.flex,
this.isShowCCCD = true,
this.indexRow = 0,
this.notValidate = false,
this.icon = "",
this.maxlength,
required this.enabled,
this.isShowView = true,
this.isMinDateCurrent = false,
this.keyGetValueForShow = "MA",
this.keyGetValueForID = "MA",
this.isDouble = false,
this.typeChildInput = TypeChildInputForm.datePicker,
// required this.visible,
this.isLastRow = false,
this.keyGetListDataFormStart = '',
this.style,
this.isFirstRow = false});