StackedColumn100Series<T, D> constructor Null safety

StackedColumn100Series<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> yValueMapper,
  6. ChartValueMapper<T, dynamic>? sortFieldValueMapper,
  7. ChartValueMapper<T, Color>? pointColorMapper,
  8. ChartValueMapper<T, String>? dataLabelMapper,
  9. SortingOrder? sortingOrder,
  10. String? groupName,
  11. String? xAxisName,
  12. String? yAxisName,
  13. String? name,
  14. Color? color,
  15. double? width,
  16. double? spacing,
  17. MarkerSettings? markerSettings,
  18. List<Trendline>? trendlines,
  19. EmptyPointSettings? emptyPointSettings,
  20. DataLabelSettings? dataLabelSettings,
  21. bool? isVisible,
  22. LinearGradient? gradient,
  23. LinearGradient? borderGradient,
  24. BorderRadius? borderRadius,
  25. bool? enableTooltip,
  26. double? animationDuration,
  27. Color? borderColor,
  28. double? borderWidth,
  29. SelectionBehavior? selectionBehavior,
  30. bool? isVisibleInLegend,
  31. LegendIconType? legendIconType,
  32. String? legendItemText,
  33. List<double>? dashArray,
  34. double? opacity,
  35. double? animationDelay,
  36. SeriesRendererCreatedCallback? onRendererCreated,
  37. ChartPointInteractionCallback? onPointTap,
  38. ChartPointInteractionCallback? onPointDoubleTap,
  39. ChartPointInteractionCallback? onPointLongPress,
  40. CartesianShaderCallback? onCreateShader,
  41. List<int>? initialSelectedDataIndexes}
)

Creating an argument constructor of StackedColumn100Series class.

Implementation

StackedColumn100Series(
    {ValueKey<String>? key,
    ChartSeriesRendererFactory<T, D>? onCreateRenderer,
    required List<T> dataSource,
    required ChartValueMapper<T, D> xValueMapper,
    required ChartValueMapper<T, num> yValueMapper,
    ChartValueMapper<T, dynamic>? sortFieldValueMapper,
    ChartValueMapper<T, Color>? pointColorMapper,
    ChartValueMapper<T, String>? dataLabelMapper,
    SortingOrder? sortingOrder,
    String? groupName,
    String? xAxisName,
    String? yAxisName,
    String? name,
    Color? color,
    double? width,
    double? spacing,
    MarkerSettings? markerSettings,
    List<Trendline>? trendlines,
    EmptyPointSettings? emptyPointSettings,
    DataLabelSettings? dataLabelSettings,
    bool? isVisible,
    LinearGradient? gradient,
    LinearGradient? borderGradient,
    BorderRadius? borderRadius,
    bool? enableTooltip,
    double? animationDuration,
    Color? borderColor,
    double? borderWidth,
    SelectionBehavior? selectionBehavior,
    bool? isVisibleInLegend,
    LegendIconType? legendIconType,
    String? legendItemText,
    List<double>? dashArray,
    double? opacity,
    double? animationDelay,
    SeriesRendererCreatedCallback? onRendererCreated,
    ChartPointInteractionCallback? onPointTap,
    ChartPointInteractionCallback? onPointDoubleTap,
    ChartPointInteractionCallback? onPointLongPress,
    CartesianShaderCallback? onCreateShader,
    List<int>? initialSelectedDataIndexes})
    : super(
          key: key,
          onCreateRenderer: onCreateRenderer,
          name: name,
          dashArray: dashArray,
          groupName: groupName,
          spacing: spacing,
          xValueMapper: xValueMapper,
          yValueMapper: yValueMapper,
          sortFieldValueMapper: sortFieldValueMapper,
          pointColorMapper: pointColorMapper,
          dataLabelMapper: dataLabelMapper,
          dataSource: dataSource,
          trendlines: trendlines,
          xAxisName: xAxisName,
          yAxisName: yAxisName,
          color: color,
          width: width ?? 0.7,
          markerSettings: markerSettings,
          dataLabelSettings: dataLabelSettings,
          isVisible: isVisible,
          gradient: gradient,
          borderGradient: borderGradient,
          emptyPointSettings: emptyPointSettings,
          enableTooltip: enableTooltip,
          animationDuration: animationDuration,
          borderColor: borderColor,
          borderWidth: borderWidth,
          borderRadius: borderRadius,
          selectionBehavior: selectionBehavior,
          legendItemText: legendItemText,
          isVisibleInLegend: isVisibleInLegend,
          legendIconType: legendIconType,
          sortingOrder: sortingOrder,
          opacity: opacity,
          animationDelay: animationDelay,
          onCreateShader: onCreateShader,
          onRendererCreated: onRendererCreated,
          onPointTap: onPointTap,
          onPointDoubleTap: onPointDoubleTap,
          onPointLongPress: onPointLongPress,
          initialSelectedDataIndexes: initialSelectedDataIndexes);