NiceFunnelChart constructor

const NiceFunnelChart({
  1. Key? key,
  2. required List<NiceFunnelItem> items,
  3. double height = 300,
  4. bool showLabels = true,
  5. bool showValues = true,
  6. bool showPercentages = true,
  7. bool animated = true,
  8. Duration animationDuration = const Duration(milliseconds: 800),
  9. NiceFunnelOrientation orientation = NiceFunnelOrientation.vertical,
})

Implementation

const NiceFunnelChart({
  super.key,
  required this.items,
  this.height = 300,
  this.showLabels = true,
  this.showValues = true,
  this.showPercentages = true,
  this.animated = true,
  this.animationDuration = const Duration(milliseconds: 800),
  this.orientation = NiceFunnelOrientation.vertical,
});