RowFieldWidgetModel<T> constructor
RowFieldWidgetModel<T> ({
- RowFieldWidgetType? type,
- required ColumnHeaderModel columnHeaderModel,
- required dynamic value,
- List<
CustomTableDropDownModel> dropDownOptionsList = const [], - dynamic onRowFieldClick()?,
- TextAlign? textAlign,
- TextStyle? style,
- T? other,
- dynamic onDropDownValueChange()?,
- dynamic onEditTextValueChange(
- String value,
- RowFieldWidgetModel<
T>
- InputType? inputType = InputType.string,
constructor
Implementation
RowFieldWidgetModel({
this.type,
required this.columnHeaderModel,
required this.value,
this.dropDownOptionsList = const [],
this.onRowFieldClick,
this.textAlign,
this.style,
this.other,
this.onDropDownValueChange,
this.onEditTextValueChange,
this.inputType = InputType.string
}){
/// initializing other data from column model
type ??= columnHeaderModel.columnType;
columnName ??= columnHeaderModel.slug;
fixedWidth ??= columnHeaderModel.fixedWidth;
textAlign ??= columnHeaderModel.textAlign;
}