ArcLabelDecorator constructor

ArcLabelDecorator({
  1. LabelStyle insideLabelStyle = const LabelStyle(fontSize: 12, color: Colors.white),
  2. LabelStyle outsideLabelStyle = const LabelStyle(fontSize: 12, color: Colors.black),
  3. ArcLabelLeaderLineStyle leaderLineStyle = const ArcLabelLeaderLineStyle(color: Colors.black, length: 20.0, thickness: 1.0),
  4. ArcLabelPosition labelPosition = ArcLabelPosition.auto,
  5. int labelPadding = 5,
  6. bool showLeaderLines = true,
})

Implementation

ArcLabelDecorator({
  this.insideLabelStyle = const LabelStyle(
    fontSize: 12,
    color: Colors.white,
  ),
  this.outsideLabelStyle = const LabelStyle(
    fontSize: 12,
    color: Colors.black,
  ),
  this.leaderLineStyle = const ArcLabelLeaderLineStyle(
    color: Colors.black,
    length: 20.0,
    thickness: 1.0,
  ),
  this.labelPosition = ArcLabelPosition.auto,
  this.labelPadding = 5,
  this.showLeaderLines = true,
});