showPopup static method
Future<Map<String, String> ?>
showPopup(
- BuildContext context,
- String url, {
- dynamic onAuthComplete()?,
Show browser as a popup dialog
Implementation
static Future<Map<String, String>?> showPopup(
BuildContext context,
String url, {
Function(Map<String, String>)? onAuthComplete,
}) {
return showDialog<Map<String, String>?>(
context: context,
barrierDismissible: true,
barrierColor: Colors.black54,
builder: (context) => PopupBrowser(
url: url,
onAuthComplete: onAuthComplete,
),
);
}