MenstrualWeightGraph constructor

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

Implementation

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