withBrightness method
Implementation
CupertinoVisualStyle withBrightness(BuildContext context) {
return this.copyWith(
cardShadow: cardShadow!.map((sh) {
return BoxShadow(
color: sh.color,
offset: sh.offset,
blurRadius: sh.blurRadius,
spreadRadius: sh.spreadRadius);
}).toList());
}