FastChart constructor

const FastChart({
  1. Key? key,
  2. required ChartBuilder chartBuilder,
  3. bool animate = false,
  4. double? width = 200,
  5. double? height = 200,
  6. double? visibleFractionThreshold = 0.5,
})

Implementation

const FastChart({
  super.key,
  required this.chartBuilder,
  this.animate = false,
  double? width = 200,
  double? height = 200,
  double? visibleFractionThreshold = 0.5,
})  : visibleFractionThreshold = visibleFractionThreshold ?? 0.5,
      width = width ?? 200,
      height = height ?? 200;