UcgInteractableSvg constructor

const UcgInteractableSvg({
  1. Key? key,
  2. required String svgAddress,
  3. required dynamic onChanged(
    1. Region region
    ),
  4. double? width,
  5. double? height,
  6. Color? selectedColor,
  7. bool isMultiSelectable = false,
  8. Color? unSelectableColor(
    1. int partId,
    2. Color? defaultColor
    )?,
  9. String? unSelectableText(
    1. int partId,
    2. String? title
    )?,
  10. bool isActivePadding = true,
})

Implementation

const UcgInteractableSvg({
  Key? key,
  required this.svgAddress,
  required this.onChanged,
  this.width,
  this.height,
  this.selectedColor,
  this.isMultiSelectable = false,
  this.unSelectableColor,
  this.unSelectableText,
  this.isActivePadding = true,
}) : super(key: key);