HumanBodySelector constructor
const
HumanBodySelector({
- Key? key,
- required String map,
- required dynamic onChanged(),
- required dynamic onLevelChanged(),
- double? width,
- double? height,
- Color? strokeColor,
- Color? selectedColor,
- Color? dotColor,
- bool multiSelect = false,
- bool toggle = false,
- Listenable? repaint,
- bool enabled = true,
- List<
String> ? initialSelectedPartsList, - List<
String> ? initialPainLevels, - 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);