mirrored_repositories/kandilli_rasathanesi_app/lib/uikit
import 'package:flutter/material.dart';

import '../../core/extensions/ui_extensions.dart';
import '../../core/theme/color/my_colors.dart';
import 'special_box_shadow.dart';

// Special boxdecoration feature used for containers

class SpecialContainerDecoration extends BoxDecoration {
  SpecialContainerDecoration({
    Key? key,
    required BuildContext context,
    Color? color,
    BorderRadiusGeometry? borderRadius,
    List<BoxShadow>? boxShadow,
    double? blurRadius,
    DecorationImage? image,
  }) : super(
          color: color ?? MyColors.instance.white,
          borderRadius: borderRadius ?? context.borderRadius4x,
          boxShadow: boxShadow ?? [SpecialBoxShadow(blurRadius: blurRadius)],
          image: image,
        );
}
