TeethWidget constructor

const TeethWidget({
  1. required void onTap(
    1. String id,
    2. bool isSelected
    ),
  2. required List<TeethModel> teeth,
  3. Key? key,
  4. double size = 500,
  5. double? textPaddingLeft,
  6. double? textPaddingTop,
  7. Color? selectedColor,
  8. TextStyle? textStyle,
  9. Color? borderColor,
  10. double? borderWith,
  11. bool? showIndex,
  12. Color? unSelectedColor,
})

Implementation

const TeethWidget(
    {required this.onTap,
    required this.teeth,
    super.key,
    this.size = 500,
    this.textPaddingLeft,
    this.textPaddingTop,
    this.selectedColor,
    this.textStyle,
    this.borderColor,
    this.borderWith,
    this.showIndex,
    this.unSelectedColor});