TeethCustomPaint constructor
TeethCustomPaint({
- required List<
TeethModel> models, - required BuildContext context,
- required DrawableRoot drawableRoot,
- required void onTap(),
- Color unSelectedColor = Colors.black,
- Color selectedColor = Colors.green,
- Color borderColor = Colors.black,
- double? textPaddingTop,
- double? textPaddingLeft,
- double borderWith = 1,
- TextStyle style = const TextStyle(color: Colors.black, fontSize: 10),
- bool showIndex = false,
Implementation
TeethCustomPaint({
required this.models,
required this.context,
required this.drawableRoot,
required this.onTap,
this.unSelectedColor = Colors.black,
this.selectedColor = Colors.green,
this.borderColor = Colors.black,
this.textPaddingTop,
this.textPaddingLeft,
this.borderWith = 1,
this.style = const TextStyle(color: Colors.black, fontSize: 10),
this.showIndex = false,
});