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