show static method
Displays the result bottom sheet modal on top of context.
Implementation
static Future<void> show(BuildContext context, ScanResult result) {
return showModalBottomSheet(
context: context,
isScrollControlled: true,
backgroundColor: Colors.transparent,
builder: (ctx) => ResultBottomSheet(
result: result,
onDismiss: () => Navigator.pop(ctx),
),
);
}