copyWith method

MinShadows copyWith({
  1. List<BoxShadow>? sm,
  2. List<BoxShadow>? md,
  3. List<BoxShadow>? lg,
  4. List<BoxShadow>? xl,
  5. List<BoxShadow>? xl2,
})

Implementation

MinShadows copyWith({
  List<BoxShadow>? sm,
  List<BoxShadow>? md,
  List<BoxShadow>? lg,
  List<BoxShadow>? xl,
  List<BoxShadow>? xl2,
}) {
  return MinShadows(
    sm: sm ?? this.sm,
    md: md ?? this.md,
    lg: lg ?? this.lg,
    xl: xl ?? this.xl,
    xl2: xl2 ?? this.xl2,
  );
}