BodyPartSelector constructor

const BodyPartSelector({
  1. required BodyParts bodyParts,
  2. required void onSelectionUpdated(
    1. BodyParts bodyParts
    )?,
  3. required BodySide side,
  4. bool mirrored = false,
  5. Color? selectedColor,
  6. Color? unselectedColor,
  7. Color? selectedOutlineColor,
  8. Color? unselectedOutlineColor,
  9. Key? key,
})

Creates a BodyPartSelector.

Implementation

const BodyPartSelector({
  required this.bodyParts,
  required this.onSelectionUpdated,
  required this.side,
  this.mirrored = false,
  this.selectedColor,
  this.unselectedColor,
  this.selectedOutlineColor,
  this.unselectedOutlineColor,
  super.key,
});