Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Nikita Sirovsky
2021-05-18 11:37:45 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2021-05-18 11:37:45 +0300
Commit
da109b47a5ac28e1aafd449f1e5ecf5f3a17d650
da109b47
1 parent
0a87e141
Update README.pt-br.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
README.pt-br.md
README.pt-br.md
View file @
da109b4
...
...
@@ -519,7 +519,7 @@ Esses middlewares serão executados nesta ordem: **-8 => 2 => 4 => 5**
Esta função será chamada quando a página da rota chamada estiver sendo pesquisada. RouteSettings se torna o resultado do redirecionamento. Ou retorne nulo e não haverá redirecionamento.
```
dart
GetPage
redirect
(
)
{
RouteSettings
redirect
(
String
route
)
{
final
authService
=
Get
.
find
<
AuthService
>();
return
authService
.
authed
.
value
?
null
:
RouteSettings
(
name:
'/login'
)
}
...
...
Please
register
or
login
to post a comment