shadow method

Container shadow({
  1. Color color = Colors.black26,
  2. double blurRadius = 10,
  3. Offset offset = const Offset(0, 4),
})

Implementation

Container shadow({
  Color color = Colors.black26,
  double blurRadius = 10,
  Offset offset = const Offset(0, 4),
}) =>
    copyWith(
      decoration: BoxDecoration(
        boxShadow: [
          BoxShadow(color: color, blurRadius: blurRadius, offset: offset),
        ],
      ),
    );