mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-06 02:59:28 +00:00
feat: add deeplinking support for oauth login
This commit is contained in:
parent
38bad9671d
commit
61aeaf429f
23 changed files with 1310 additions and 343 deletions
|
|
@ -68,6 +68,13 @@ class Routes {
|
|||
pathName: 'users',
|
||||
name: 'userManagement',
|
||||
);
|
||||
|
||||
// openID callback
|
||||
static const openIDCallback = _SimpleRoute(
|
||||
pathName: 'callback',
|
||||
name: 'openIDCallback',
|
||||
parentRoute: onboarding,
|
||||
);
|
||||
}
|
||||
|
||||
// a class to store path
|
||||
|
|
@ -86,8 +93,8 @@ class _SimpleRoute {
|
|||
final _SimpleRoute? parentRoute;
|
||||
|
||||
/// the full path of the route
|
||||
String get path {
|
||||
return '${parentRoute?.path ?? ''}$localPath';
|
||||
String get fullPath {
|
||||
return '${parentRoute?.fullPath ?? ''}$localPath';
|
||||
}
|
||||
|
||||
/// the local path of the route
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue