Showing
2 changed files
with
10 additions
and
10 deletions
| @@ -225,37 +225,37 @@ Vous pourrez vous faire une meilleure idée de la puissance de GetX. | @@ -225,37 +225,37 @@ Vous pourrez vous faire une meilleure idée de la puissance de GetX. | ||
| 225 | 225 | ||
| 226 | ## Gestion de route | 226 | ## Gestion de route | 
| 227 | 227 | ||
| 228 | -If you are going to use routes/snackbars/dialogs/bottomsheets without context, GetX is excellent for you too, just see it: | 228 | +Si vous envisagez d'utiliser des routes/snackbars/dialogs/bottomsheets sans 'context', GetX est également excellent pour vous, voyez par vous-même: | 
| 229 | 229 | ||
| 230 | -Add "Get" before your MaterialApp, turning it into GetMaterialApp | 230 | +Ajoutez "Get" avant votre MaterialApp, en le transformant en GetMaterialApp | 
| 231 | 231 | ||
| 232 | ```dart | 232 | ```dart | 
| 233 | -GetMaterialApp( // Before: MaterialApp( | 233 | +GetMaterialApp( // Avant: MaterialApp( | 
| 234 | home: MyHome(), | 234 | home: MyHome(), | 
| 235 | ) | 235 | ) | 
| 236 | ``` | 236 | ``` | 
| 237 | 237 | ||
| 238 | -Navigate to a new screen: | 238 | +Accédez à un nouvel écran: | 
| 239 | 239 | ||
| 240 | ```dart | 240 | ```dart | 
| 241 | 241 | ||
| 242 | -Get.to(NextScreen()); | 242 | +Get.to(ÉcranSuivant()); | 
| 243 | ``` | 243 | ``` | 
| 244 | 244 | ||
| 245 | -Navigate to new screen with name. See more details on named routes [here](./documentation/en_US/route_management.md#navigation-with-named-routes) | 245 | +Accédez au nouvel écran par le nom. Voir plus de détails sur les itinéraires nommés (named routes) [ici](./documentation/fr_FR/route_management.md#navigation-avec-des-itinraires-nomms) | 
| 246 | 246 | ||
| 247 | ```dart | 247 | ```dart | 
| 248 | 248 | ||
| 249 | Get.toNamed('/details'); | 249 | Get.toNamed('/details'); | 
| 250 | ``` | 250 | ``` | 
| 251 | 251 | ||
| 252 | -To close snackbars, dialogs, bottomsheets, or anything you would normally close with Navigator.pop(context); | 252 | +Pour fermer des snackbars, dialogs, bottomsheets, ou tout ce que vous auriez normalement fermé avec Navigator.pop(context); | 
| 253 | 253 | ||
| 254 | ```dart | 254 | ```dart | 
| 255 | Get.back(); | 255 | Get.back(); | 
| 256 | ``` | 256 | ``` | 
| 257 | 257 | ||
| 258 | -To go to the next screen and no option to go back to the previous screen (for use in SplashScreens, login screens, etc.) | 258 | +Pour aller à l'écran suivant avec aucune option pour revenir à l'écran précédent (pour une utilisation dans SplashScreens, écrans de connexion, etc.) | 
| 259 | 259 | ||
| 260 | ```dart | 260 | ```dart | 
| 261 | Get.off(NextScreen()); | 261 | Get.off(NextScreen()); | 
| 1 | - [Route Management](#route-management) | 1 | - [Route Management](#route-management) | 
| 2 | - [How to use](#how-to-use) | 2 | - [How to use](#how-to-use) | 
| 3 | - [Navigation without named routes](#navigation-without-named-routes) | 3 | - [Navigation without named routes](#navigation-without-named-routes) | 
| 4 | - - [Navigation with named routes](#navigation-with-named-routes) | 4 | + - [Navigation avec des itinéraires nommés](#navigation-avec-des-itinraires-nomms) | 
| 5 | - [Send data to named Routes](#send-data-to-named-routes) | 5 | - [Send data to named Routes](#send-data-to-named-routes) | 
| 6 | - [Dynamic urls links](#dynamic-urls-links) | 6 | - [Dynamic urls links](#dynamic-urls-links) | 
| 7 | - [Middleware](#middleware) | 7 | - [Middleware](#middleware) | 
| @@ -109,7 +109,7 @@ Get.to(HomePage()); | @@ -109,7 +109,7 @@ Get.to(HomePage()); | ||
| 109 | 109 | ||
| 110 | ``` | 110 | ``` | 
| 111 | 111 | ||
| 112 | -## Navigation with named routes | 112 | +## Navigation avec des itinéraires nommés | 
| 113 | 113 | ||
| 114 | - If you prefer to navigate by namedRoutes, Get also supports this. | 114 | - If you prefer to navigate by namedRoutes, Get also supports this. | 
| 115 | 115 | 
- 
Please register or login to post a comment