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
Jonatas
2020-09-19 02:10:25 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
9b3c6c990900a87fc3cf3fac280157c426f7ab27
9b3c6c99
2 parents
3de6b764
dea6a07c
Merge branch 'master' of
https://github.com/jonataslaw/getx
into master
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
README.md
README.pt-br.md
README.md
View file @
9b3c6c9
...
...
@@ -226,6 +226,13 @@ Navigate to new screen:
Get
.
to
(
NextScreen
());
```
Navigate to new screen with name. See more details on named routes
[
here
](
./documentation/en_US/route_management.md#navigation-with-named-routes
)
```
dart
Get
.
toNamed
(
'/details'
);
```
To close snackbars, dialogs, bottomsheets, or anything you would normally close with Navigator.pop(context);
```
dart
...
...
@@ -328,7 +335,6 @@ return GetMaterialApp(
translations:
Messages
(),
// your translations
locale:
Locale
(
'en'
,
'US'
),
// translations will be displayed in that locale
fallbackLocale:
Locale
(
'en'
,
'UK'
),
// specify the fallback locale in case an invalid locale is selected.
supportedLocales:
<
Locale
>[
Locale
(
'en'
,
'UK'
),
Locale
(
'en'
,
'US'
),
Locale
(
'de'
,
'DE'
)]
// specify the supported locales
);
```
...
...
README.pt-br.md
View file @
9b3c6c9
...
...
@@ -345,7 +345,6 @@ return GetMaterialApp(
translations:
Messages
(),
// suas traduções
locale:
Locale
(
'en'
,
'US'
),
// as traduções serão exibidas para esta localidade
fallbackLocale:
Locale
(
'en'
,
'UK'
),
// especifica uma localidade em caso de falha na localidade definida
supportedLocales:
<
Locale
>[
Locale
(
'en'
,
'UK'
),
Locale
(
'en'
,
'US'
),
Locale
(
'de'
,
'DE'
)]
// especifica as localidades suportados
);
```
...
...
Please
register
or
login
to post a comment