ChartLine constructor

const ChartLine({
  1. Key? key,
  2. bool animate = false,
  3. List<TickSpec<String>> staticTicks = const [],
  4. List<ChartLineData> lineData = const [],
  5. double height = 200.0,
  6. int titleFontSize = 14,
  7. double maskFontSize = 18.0,
  8. bool showLegend = true,
  9. bool showChartTitle = true,
  10. bool showAxisLine = false,
  11. Widget? loadingWidget,
  12. double strokeWidth = 1.0,
  13. bool hidePrimaryAxis = false,
  14. bool hideSecondaryAxis = false,
  15. HiddenFn<bool>? hiddenFn,
  16. bool hideDomainAxis = false,
})

Implementation

const ChartLine(
    {Key? key,
    this.animate = false,
    this.staticTicks = const [],
    this.lineData = const [],
    this.height = 200.0,
    this.titleFontSize = 14,
    this.maskFontSize = 18.0,
    this.showLegend = true,
    this.showChartTitle = true,
    this.showAxisLine = false,
    this.loadingWidget,
    this.strokeWidth = 1.0,
    this.hidePrimaryAxis = false,
    this.hideSecondaryAxis = false,
    this.hiddenFn,
    this.hideDomainAxis = false})
    : super(key: key);