Jonny Borges
Committed by GitHub

Merge pull request #697 from eduardoflorence/improve-doc-2020-10-09

Melhorias nas documentações
... ... @@ -331,9 +331,6 @@ MaterialApp(
// dar los argumentos actuales de currentScreen
Get.arguments
// dar argumentos de la ruta anterior
Get.previousArguments
// dar el nombre de la ruta anterior
Get.previousRoute
... ...
... ... @@ -386,9 +386,6 @@ When `.darkmode` is activated, it will switch to the _light theme_, and when the
// give the current args from currentScreen
Get.arguments
// give arguments of previous route
Get.previousArguments
// give name of previous route
Get.previousRoute
... ...
... ... @@ -321,9 +321,6 @@ Jeśli interesuje Cię jak zmieniać motywy podąrzaj za samouczkiem na Medium u
// give the current args from currentScreen
Get.arguments
// give arguments of previous route
Get.previousArguments
// give name of previous route
Get.previousRoute
... ...
... ... @@ -229,6 +229,12 @@ Para navegar para uma próxima tela:
Get.to(ProximaTela());
```
Para navegar para uma próxima tela com uma rota nomeada. Veja mais detalhes sobre rotas nomeadas [aqui](./documentation/pt_BR/route_management.md#navegar-com-rotas-nomeadas)
```dart
Get.toNamed('/detalhes');
```
Para fechar snackbars, dialogs, bottomsheets, ou qualquer coisa que você normalmente fecharia com o `Navigator.pop(context)` (como por exemplo fechar a View atual e voltar para a anterior):
```dart
... ... @@ -395,9 +401,6 @@ Se você quiser saber mais como trocar o tema, você pode seguir esse tutorial n
// fornece os arguments da tela atual
Get.arguments
// fornece os arguments da rota anterior
Get.previousArguments
// fornece o nome da rota anterior
Get.previousRoute
... ... @@ -942,6 +945,9 @@ Qualquer contribuição é bem-vinda!
- [Firestore User with GetX™ | Todo App](https://www.youtube.com/watch?v=BiV0DcXgk58) - Video by Amateur Coder. (inglês)
- [Firebase Auth with GetX™ | Todo App](https://www.youtube.com/watch?v=-H-T_BSgfOE) - Video by Amateur Coder. (inglês)
- [The Flutter GetX™ Ecosystem ~ State Management](https://medium.com/flutter-community/the-flutter-getx-ecosystem-state-management-881c7235511d) - State management by [Aachman Garg](https://github.com/imaachman). (inglês)
- [The Flutter GetX™ Ecosystem ~ Dependency Injection](https://medium.com/flutter-community/the-flutter-getx-ecosystem-dependency-injection-8e763d0ec6b9) - Dependency Injection by [Aachman Garg](https://github.com/imaachman). (inglês)
- [GetX™, the all-in-one Flutter package](https://www.youtube.com/watch?v=IYQgtu9TM74) - A brief tutorial covering State Management and Navigation by Thad Carnevalli. (inglês)
- [Build a To-do List App from scratch using Flutter and GetX™](https://www.youtube.com/watch?v=EcnqFasHf18) - UI + State Management + Storage video by Thad Carnevalli. (inglês)
- [GetX™ Flutter Firebase Auth Example](https://medium.com/@jeffmcmorris/getx-flutter-firebase-auth-example-b383c1dd1de2) - Article by Jeff McMorris. (inglês)
- [Flutter State Management with GetX – Complete App](https://www.appwithflutter.com/flutter-state-management-with-getx/) - by App With Flutter. (inglês)
- [Flutter Routing with Animation using Get Package](https://www.appwithflutter.com/flutter-routing-using-get-package/) - by App With Flutter. (inglês)
... ...
... ... @@ -389,9 +389,6 @@ Get.changeTheme(Get.isDarkMode? ThemeData.light(): ThemeData.dark());
// 给出当前页面的args。
Get.arguments
// 给出上一条路由的参数
Get.previousArguments
//给出以前的路由名称
Get.previousRoute
... ...