base method
Implementation
Widget base(BuildContext context, {required Widget child}) {
return Dismissible(
key: Key('dismissiblePopup'),
direction: DismissDirection.down,
onDismissed: (_) => this.pop(context),
child: ClipRRect(
borderRadius: BorderRadius.circular(BORDER_RADIUS),
child: Container(
width: double.infinity,
decoration: BoxDecoration(
color: Theme.of(context).backgroundColor.withOpacity(0.6),
),
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10),
child: child,
),
),
),
);
}