MenstrualCyclePeriodsGraph constructor

const MenstrualCyclePeriodsGraph({
  1. Key? key,
  2. String? loadingText,
  3. String? xAxisTitle,
  4. TextStyle? xAxisTitleTextStyle,
  5. TextStyle? yAxisTitleTextStyle,
  6. bool isShowXAxisTitle = true,
  7. bool isShowYAxisTitle = true,
  8. String? yAxisTitle,
  9. Color periodDaysColor = defaultMenstruationColor,
  10. String? periodDaysTitle,
  11. Color otherCycleDaysColor = defaultLutealPhaseColor,
  12. bool isShowMoreOptions = false,
  13. String? otherCycleDaysTitle,
  14. Function? onImageDownloadCallback,
  15. Function? onPdfDownloadCallback,
})

Implementation

const MenstrualCyclePeriodsGraph(
    {super.key,
    this.loadingText,
    this.xAxisTitle,
    this.xAxisTitleTextStyle,
    this.yAxisTitleTextStyle,
    this.isShowXAxisTitle = true,
    this.isShowYAxisTitle = true,
    this.yAxisTitle,
    this.periodDaysColor = defaultMenstruationColor,
    this.periodDaysTitle,
    this.otherCycleDaysColor = defaultLutealPhaseColor,
    this.isShowMoreOptions = false,
    this.otherCycleDaysTitle,
    this.onImageDownloadCallback,
    this.onPdfDownloadCallback});