renderButton method
Renders a Sign In With Google button in your web page.
Method: google.accounts.id.renderButton https://developers.google.com/identity/gsi/web/reference/js-reference#google.accounts.id.renderButton
Implementation
void renderButton(
Object parent, [
GsiButtonConfiguration? options,
]) {
assert(parent is JSObject,
'parent must be a JSObject. Use package:web to retrieve/create one.');
parent as JSObject;
if (options == null) {
return _renderButton(parent);
}
return _renderButtonWithOptions(parent, options);
}