TextItem constructor

TextItem({
  1. required Text text,
  2. double space = 10,
  3. double startAngle = 0,
  4. StartAngleAlignment startAngleAlignment = StartAngleAlignment.start,
  5. CircularTextDirection direction = CircularTextDirection.clockwise,
})

Implementation

TextItem({
  required this.text,
  this.space = 10,
  this.startAngle = 0,
  this.startAngleAlignment = StartAngleAlignment.start,
  this.direction = CircularTextDirection.clockwise,
}) : assert(space >= 0);