decorateCard method
Wraps the decorated card (e.g. with a blur filter or an overlay).
Implementation
@override
Widget decorateCard(Widget card) {
// Inner highlight rendered as an inset overlay so the card border does
// not shrink the layout.
return Stack(
children: [
card,
Positioned.fill(
child: IgnorePointer(
child: DecoratedBox(
decoration: _innerGlow(
radius: BorderRadius.circular(cardRadius),
strength: 0.6,
),
),
),
),
],
);
}