FilterRF constructor
FilterRF({
- List<
DataSourceRF> ? dataSource, - Function? onAdvanceFilter,
- String? quickFilterFields,
- String defaultSorting = 'DESC',
- Color? color,
- bool showAdvanceButton = true,
- bool showGeoButton = true,
- bool showRefreshButton = true,
- bool triggerOnTextChange = false,
- Color quickFilterBackColor = Colors.white,
- Color showAdvanceButtonBackColor = Colors.white,
- Color showRefreshButtonBackColor = Colors.white,
- Color showGeoButtonBackColor = Colors.white,
- Color quickFilterForeColor = Colors.grey,
- Color quickFilterHintForeColor = Colors.grey,
- Color showAdvanceButtonForeColor = Colors.grey,
- Color showRefreshButtonForeColor = Colors.grey,
- Color showGeoButtonForeColor = Colors.grey,
- Function? onCustomActionTap,
- Function? onTextChange,
- 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,
});