actions property
Possible actions that could be triggered:
ProfileScreen(
actions: [
SignedOutAction((context) {
Navigator.of(context).pushReplacementNamed('/sign-in');
}),
AuthStateChangeAction<CredentialLinked>((context, state) {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text("Provider sucessfully linked!"),
),
);
}),
]
)
Implementation
final List<FirebaseUIAction>? actions;