withBrightness method

CupertinoVisualStyle withBrightness(
  1. BuildContext context
)

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());
}