I am new to dart and I have been trying to figure out how to use the googleapis
library to update a calendars events, then display the calendar/events on a webpage.
What you might be looking for is the hybrid flow. This produces two items
From the documentation:
Use case: A web application might want to get consent for accessing data on behalf of a user. The client part is a dynamic webapp which wants to open a popup which asks the user for consent. The webapp might want to use the credentials to make API calls, but the server may want to have offline access to user data as well.
The page Google+ Sign-In for server-side apps describes how this flow works.