MenstrualSleepGraph constructor

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

Implementation

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