FilterScreen constructor

const FilterScreen({
  1. Key? key,
  2. required String? title,
  3. required FilterController filterController,
  4. required Widget getConditionView(
    1. Map<String, Object?> mapCondition,
    2. void onValueChange(
      1. String fieldName,
      2. Object value
      )
    ),
  5. required VoidCallback onApply,
  6. required VoidCallback onClear,
  7. Color? color,
  8. TextStyle? clearTextStyle,
  9. TextStyle? applyTextStyle,
  10. Color? clearBackgroundColor,
  11. Color? applyBackgroundColor,
  12. String? clearText,
  13. String? applyText,
})

Implementation

const FilterScreen({
  super.key,
  required this.title,
  required this.filterController,
  required this.getConditionView,
  required this.onApply,
  required this.onClear,
  this.color,
  this.clearTextStyle,
  this.applyTextStyle,
  this.clearBackgroundColor,
  this.applyBackgroundColor,
  this.clearText,
  this.applyText,
});