MenstrualCycleWaterGraph constructor

const MenstrualCycleWaterGraph({
  1. Key? key,
  2. WaterUnits? waterUnits = WaterUnits.liters,
  3. bool isShowMoreOptions = false,
  4. String? loadingText,
  5. bool isShowXAxisTitle = true,
  6. bool isShowYAxisTitle = true,
  7. Color tooltipBackgroundColor = Colors.black,
  8. String? yAxisTitle,
  9. Function? onImageDownloadCallback,
  10. String? xAxisTitle,
  11. Color graphColor = Colors.blue,
  12. TextStyle? xAxisTitleTextStyle,
  13. TextStyle? yAxisTitleTextStyle,
  14. Function? onPdfDownloadCallback,
})

Implementation

const MenstrualCycleWaterGraph(
    {super.key,
    this.waterUnits = WaterUnits.liters,
    this.isShowMoreOptions = false,
    this.loadingText,
    this.isShowXAxisTitle = true,
    this.isShowYAxisTitle = true,
    this.tooltipBackgroundColor = Colors.black,
    this.yAxisTitle,
    this.onImageDownloadCallback,
    this.xAxisTitle,
    this.graphColor = Colors.blue,
    this.xAxisTitleTextStyle,
    this.yAxisTitleTextStyle,
    this.onPdfDownloadCallback});