HumanBodySelector constructor

const HumanBodySelector({
  1. Key? key,
  2. required String map,
  3. required dynamic onChanged(
    1. List<BodyPart> city,
    2. BodyPart? active
    ),
  4. required dynamic onLevelChanged(
    1. List<BodyPart> city
    ),
  5. double? width,
  6. double? height,
  7. Color? strokeColor,
  8. Color? selectedColor,
  9. Color? dotColor,
  10. bool multiSelect = false,
  11. bool toggle = false,
  12. Listenable? repaint,
  13. bool enabled = true,
  14. List<String>? initialSelectedPartsList,
  15. List<String>? initialPainLevels,
  16. double scale = 1.0,
})

Implementation

const HumanBodySelector({
  Key? key,
  required this.map,
  required this.onChanged,
  required this.onLevelChanged,
  this.width,
  this.height,
  this.strokeColor,
  this.selectedColor,
  this.dotColor,
  this.multiSelect = false,
  this.toggle = false,
  this.repaint,
  this.enabled = true,
  this.initialSelectedPartsList,
  this.initialPainLevels,
  this.scale = 1.0,
}) : super(key: key);