setForegroundPainter method
Updates the foregroundPainter property and triggers a rebuild. This does not rebuild the child widget.
value
- The new foregroundPainter.
Implementation
void setForegroundPainter(CustomPainter? value) {
setState(() {
foregroundPainter = value;
});
}