sparkles property
set
sparkles
(PressSparkles? value)
Implementation
set sparkles(PressSparkles? value) {
if (_sparkles == value) {
return;
}
if (attached) {
_sparkles?.removeListener(markNeedsPaint);
value?.addListener(markNeedsPaint);
}
_sparkles = value;
markNeedsPaint();
}