FilterRF constructor

FilterRF({
  1. List<DataSourceRF>? dataSource,
  2. Function? onAdvanceFilter,
  3. String? quickFilterFields,
  4. String defaultSorting = 'DESC',
  5. Color? color,
  6. bool showAdvanceButton = true,
  7. bool showGeoButton = true,
  8. bool showRefreshButton = true,
  9. bool triggerOnTextChange = false,
  10. Color quickFilterBackColor = Colors.white,
  11. Color showAdvanceButtonBackColor = Colors.white,
  12. Color showRefreshButtonBackColor = Colors.white,
  13. Color showGeoButtonBackColor = Colors.white,
  14. Color quickFilterForeColor = Colors.grey,
  15. Color quickFilterHintForeColor = Colors.grey,
  16. Color showAdvanceButtonForeColor = Colors.grey,
  17. Color showRefreshButtonForeColor = Colors.grey,
  18. Color showGeoButtonForeColor = Colors.grey,
  19. Function? onCustomActionTap,
  20. Function? onTextChange,
  21. Function? onRefresh,
})

Implementation

FilterRF({
  this.dataSource,
  this.onAdvanceFilter,
  this.quickFilterFields,
  this.defaultSorting = 'DESC',
  this.color,
  this.showAdvanceButton = true,
  this.showGeoButton = true,
  this.showRefreshButton = true,
  this.triggerOnTextChange = false,
  this.quickFilterBackColor = Colors.white,
  this.showAdvanceButtonBackColor = Colors.white,
  this.showRefreshButtonBackColor = Colors.white,
  this.showGeoButtonBackColor = Colors.white,
  this.quickFilterForeColor = Colors.grey,
  this.quickFilterHintForeColor = Colors.grey,
  this.showAdvanceButtonForeColor = Colors.grey,
  this.showRefreshButtonForeColor = Colors.grey,
  this.showGeoButtonForeColor = Colors.grey,
  this.onCustomActionTap,
  this.onTextChange,
  this.onRefresh,
});