RangeAreaSeries<T, D> constructor

RangeAreaSeries<T, D>({
  1. ValueKey<String>? key,
  2. ChartSeriesRendererFactory<T, D>? onCreateRenderer,
  3. required List<T> dataSource,
  4. required ChartValueMapper<T, D> xValueMapper,
  5. required ChartValueMapper<T, num> highValueMapper,
  6. required ChartValueMapper<T, num> lowValueMapper,
  7. ChartValueMapper<T, dynamic>? sortFieldValueMapper,
  8. ChartValueMapper<T, Color>? pointColorMapper,
  9. ChartValueMapper<T, String>? dataLabelMapper,
  10. SortingOrder? sortingOrder,
  11. String? xAxisName,
  12. List<Trendline>? trendlines,
  13. String? yAxisName,
  14. String? name,
  15. Color? color,
  16. MarkerSettings? markerSettings,
  17. EmptyPointSettings? emptyPointSettings,
  18. DataLabelSettings? dataLabelSettings,
  19. bool? isVisible,
  20. bool? enableTooltip,
  21. List<double>? dashArray,
  22. double? animationDuration,
  23. Color? borderColor,
  24. double? borderWidth,
  25. LinearGradient? gradient,
  26. LinearGradient? borderGradient,
  27. SelectionSettings? selectionSettings,
  28. SelectionBehavior? selectionBehavior,
  29. bool? isVisibleInLegend,
  30. LegendIconType? legendIconType,
  31. String? legendItemText,
  32. double? opacity,
  33. RangeAreaBorderMode borderDrawMode = RangeAreaBorderMode.all,
  34. SeriesRendererCreatedCallback? onRendererCreated,
})

Creating an argument constructor of RangeAreaSeries class.

Implementation

RangeAreaSeries(
    {ValueKey<String>? key,
    ChartSeriesRendererFactory<T, D>? onCreateRenderer,
    required List<T> dataSource,
    required ChartValueMapper<T, D> xValueMapper,
    required ChartValueMapper<T, num> highValueMapper,
    required ChartValueMapper<T, num> lowValueMapper,
    ChartValueMapper<T, dynamic>? sortFieldValueMapper,
    ChartValueMapper<T, Color>? pointColorMapper,
    ChartValueMapper<T, String>? dataLabelMapper,
    SortingOrder? sortingOrder,
    String? xAxisName,
    List<Trendline>? trendlines,
    String? yAxisName,
    String? name,
    Color? color,
    MarkerSettings? markerSettings,
    EmptyPointSettings? emptyPointSettings,
    DataLabelSettings? dataLabelSettings,
    bool? isVisible,
    bool? enableTooltip,
    List<double>? dashArray,
    double? animationDuration,
    Color? borderColor,
    double? borderWidth,
    LinearGradient? gradient,
    LinearGradient? borderGradient,
    // ignore: deprecated_member_use_from_same_package
    SelectionSettings? selectionSettings,
    SelectionBehavior? selectionBehavior,
    bool? isVisibleInLegend,
    LegendIconType? legendIconType,
    String? legendItemText,
    double? opacity,
    this.borderDrawMode = RangeAreaBorderMode.all,
    SeriesRendererCreatedCallback? onRendererCreated})
    : super(
          key: key,
          onCreateRenderer: onCreateRenderer,
          xValueMapper: xValueMapper,
          highValueMapper: highValueMapper,
          lowValueMapper: lowValueMapper,
          sortFieldValueMapper: sortFieldValueMapper,
          pointColorMapper: pointColorMapper,
          dataLabelMapper: dataLabelMapper,
          dataSource: dataSource,
          trendlines: trendlines,
          xAxisName: xAxisName,
          yAxisName: yAxisName,
          name: name,
          color: color,
          markerSettings: markerSettings,
          dataLabelSettings: dataLabelSettings,
          isVisible: isVisible,
          emptyPointSettings: emptyPointSettings,
          enableTooltip: enableTooltip,
          dashArray: dashArray,
          animationDuration: animationDuration,
          borderColor: borderColor,
          borderWidth: borderWidth,
          gradient: gradient,
          borderGradient: borderGradient,
          selectionSettings: selectionSettings,
          selectionBehavior: selectionBehavior,
          legendItemText: legendItemText,
          isVisibleInLegend: isVisibleInLegend,
          legendIconType: legendIconType,
          sortingOrder: sortingOrder,
          onRendererCreated: onRendererCreated,
          opacity: opacity);