loginAction method
dynamic
loginAction(
- BuildContext context, {
- dynamic action()?,
- String? googleUrl,
- bool page = false,
Implementation
loginAction(BuildContext context,
{Function()? action, String? googleUrl, bool page = false}) async {
if (user != null) {
await action?.call();
} else {
await LoginDialog.show(
context,
);
}
}