RangeInput constructor

RangeInput({
  1. Key? key,
  2. required String id,
  3. List<KeysToSubscribe>? subscribeTo,
  4. bool? shouldListenForChanges,
  5. bool? destroyOnDispose,
  6. bool? triggerQueryOnInit,
  7. String? credentials,
  8. String? index,
  9. String? url,
  10. AppbaseSettings? appbaseConfig,
  11. TransformRequest? transformRequest,
  12. TransformResponse? transformResponse,
  13. Map<String, String>? headers,
  14. Map<String, dynamic>? react,
  15. String? queryFormat,
  16. dynamic dataField,
  17. String? categoryField,
  18. String? categoryValue,
  19. String? nestedField,
  20. int? from,
  21. int? size,
  22. SortType? sortBy,
  23. String? aggregationField,
  24. int? aggregationSize,
  25. Map? after,
  26. bool? includeNullValues,
  27. List<String>? includeFields,
  28. List<String>? excludeFields,
  29. dynamic fuzziness,
  30. bool? searchOperators,
  31. bool? highlight,
  32. dynamic highlightField,
  33. Map? customHighlight,
  34. int? interval,
  35. List<String>? aggregations,
  36. String? missingLabel,
  37. bool? showMissing,
  38. bool? enableSynonyms,
  39. String? selectAllLabel,
  40. bool? pagination,
  41. bool? queryString,
  42. Map defaultQuery(
    1. dynamic searchController
    )?,
  43. Map customQuery(
    1. dynamic searchController
    )?,
  44. Future beforeValueChange(
    1. dynamic value
    )?,
  45. void onValueChange(
    1. dynamic next, {
    2. dynamic prev,
    })?,
  46. void onResults(
    1. Results next, {
    2. Results prev,
    })?,
  47. void onAggregationData(
    1. Aggregations next, {
    2. Aggregations prev,
    })?,
  48. void onError(
    1. dynamic error
    )?,
  49. void onRequestStatusChange(
    1. String next, {
    2. String prev,
    })?,
  50. void onQueryChange(
    1. List<Map>? next, {
    2. List<Map>? prev,
    })?,
  51. bool? enablePopularSuggestions,
  52. int? maxPopularSuggestions,
  53. bool? showDistinctSuggestions,
  54. bool? preserveResults,
  55. bool clearOnQueryChange = false,
  56. dynamic value,
  57. List<Map>? results,
  58. String? distinctField,
  59. Map? distinctFieldConfig,
  60. Widget buildTitle()?,
  61. Widget buildRangeLabel()?,
  62. required RangeType range,
  63. DefaultValue? defaultValue,
  64. RangeLabelsType? rangeLabels,
  65. bool validateRange(
    1. dynamic start,
    2. dynamic end
    )?,
  66. Widget buildErrorMessage(
    1. dynamic start,
    2. dynamic end
    )?,
  67. TextStyle? inputStyle,
  68. TextInputType? keyboardType,
  69. TextInputAction? textInputAction,
  70. TextStyle? dropdownStyle,
  71. Container customContainer(
    1. bool showError,
    2. Widget childWidget
    )?,
  72. Widget closeIcon()?,
  73. Widget dropdownIcon(
    1. bool showError
    )?,
  74. bool triggerQueryOnMount = true,
  75. Duration httpRequestTimeout = const Duration(seconds: 30),
  76. CompoundClauseType? compoundClause,
})

Implementation

RangeInput({
  Key? key,
  required this.id,
  this.subscribeTo,
  this.shouldListenForChanges,
  this.destroyOnDispose,
  this.triggerQueryOnInit,
  // properties to configure search component
  this.credentials,
  this.index,
  this.url,
  this.appbaseConfig,
  this.transformRequest,
  this.transformResponse,
  this.headers,
  this.react,
  this.queryFormat,
  this.dataField,
  this.categoryField,
  this.categoryValue,
  this.nestedField,
  this.from,
  this.size,
  this.sortBy,
  this.aggregationField,
  this.aggregationSize,
  this.after,
  this.includeNullValues,
  this.includeFields,
  this.excludeFields,
  this.fuzziness,
  this.searchOperators,
  this.highlight,
  this.highlightField,
  this.customHighlight,
  this.interval,
  this.aggregations,
  this.missingLabel,
  this.showMissing,
  this.enableSynonyms,
  this.selectAllLabel,
  this.pagination,
  this.queryString,
  this.defaultQuery,
  this.customQuery,
  this.beforeValueChange,
  this.onValueChange,
  this.onResults,
  this.onAggregationData,
  this.onError,
  this.onRequestStatusChange,
  this.onQueryChange,
  this.enablePopularSuggestions,
  this.maxPopularSuggestions,
  this.showDistinctSuggestions,
  this.preserveResults,
  this.clearOnQueryChange = false,
  this.value,
  this.results,
  this.distinctField,
  this.distinctFieldConfig,
  this.buildTitle,
  this.buildRangeLabel,
  required this.range,
  this.defaultValue,
  this.rangeLabels,
  this.validateRange,
  this.buildErrorMessage,
  this.inputStyle,
  this.keyboardType,
  this.textInputAction,
  this.dropdownStyle,
  this.customContainer,
  this.closeIcon,
  this.dropdownIcon,
  this.triggerQueryOnMount = true,
  this.httpRequestTimeout = const Duration(seconds: 30),
  this.compoundClause,
}) : super(key: key);