cardDecoration method

  1. @override
BoxDecoration cardDecoration()
override

Decoration of the dialog card.

Implementation

@override
BoxDecoration cardDecoration() => BoxDecoration(
  color: theme.surface,
  borderRadius: BorderRadius.circular(cardRadius),
  boxShadow: [
    BoxShadow(
      color: Colors.black.withValues(alpha: 0.12),
      blurRadius: 24,
      offset: const Offset(0, 10),
    ),
    BoxShadow(
      color: Colors.black.withValues(alpha: 0.05),
      blurRadius: 4,
      offset: const Offset(0, 1),
    ),
  ],
);