AppraiseConfig constructor

const AppraiseConfig({
  1. bool showHeader = true,
  2. EdgeInsets? headerPadding,
  3. int titleMaxLines = 1,
  4. AppraiseCloseClickCallBack? onCancel,
  5. List<int> indexes = const [0, 1, 2, 3, 4],
  6. int count = 5,
  7. String starAppraiseHint = '',
  8. bool multiSelect = true,
  9. int tagCountEachRow = 2,
  10. bool showTextInput = true,
  11. int maxLength = 100,
  12. int maxHintLines = 1,
  13. String? inputDefaultText,
  14. double inputMaxHeight = 120,
  15. bool showConfirmButton = true,
  16. String? confirmButtonText,
  17. bool? isConfirmButtonEnabled,
  18. AppraiseIconClick? iconClickCallback,
  19. InputTextChangeCallback? inputTextChangeCallback,
  20. AppraiseTagClick? tagSelectCallback,
})

create BrnAppraiseConfig

Implementation

const AppraiseConfig({
  this.showHeader = true,
  this.headerPadding,
  this.titleMaxLines = 1,
  this.onCancel,
  this.indexes = const [0, 1, 2, 3, 4],
  this.count = 5,
  this.starAppraiseHint = '',
  this.multiSelect = true,
  this.tagCountEachRow = 2,
  this.showTextInput = true,
  this.maxLength = 100,
  this.maxHintLines = 1,
  this.inputDefaultText,
  this.inputMaxHeight = 120,
  this.showConfirmButton = true,
  this.confirmButtonText,
  this.isConfirmButtonEnabled,
  this.iconClickCallback,
  this.inputTextChangeCallback,
  this.tagSelectCallback,
});