ChartLegend constructor

ChartLegend(
  1. {TextStyle? textStyle,
  2. AlignmentGeometry position = Alignment.topRight,
  3. Axis direction = Axis.vertical,
  4. BoxDecoration? decoration,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(5)}
)

Implementation

ChartLegend({
  this.textStyle,
  this.position = Alignment.topRight,
  this.direction = Axis.vertical,
  this.decoration,
  this.padding = const EdgeInsets.all(5),
});