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 Borges
2021-04-04 15:27:14 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
039a9e73f8bcc6a0abad6f8e089b2ba2be47befa
039a9e73
1 parent
d26b4349
update to 4.1.3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
CHANGELOG.md
example/lib/lang/translation_service.dart
pubspec.yaml
CHANGELOG.md
View file @
039a9e7
## [4.1.3]
-
Fix "Error: A value of type 'Locale?' can't be returned from a function"on flutter web (@nickwri)
-
Fix plural translations to expressions >1 (@WolfVic)
## [4.1.2]
-
Fix warning ˜can add data to a closed stream˜ when GetBuilder and Obx are nested
-
Fix get_connect decoder can not be null (@Goddchen)
...
...
example/lib/lang/translation_service.dart
View file @
039a9e7
...
...
@@ -5,7 +5,7 @@ import 'en_us.dart';
import
'pt_br.dart'
;
class
TranslationService
extends
Translations
{
static
Locale
get
locale
=>
Get
.
deviceLocale
;
static
Locale
?
get
locale
=>
Get
.
deviceLocale
;
static
final
fallbackLocale
=
Locale
(
'en'
,
'US'
);
@override
Map
<
String
,
Map
<
String
,
String
>>
get
keys
=>
{
...
...
pubspec.yaml
View file @
039a9e7
name
:
get
description
:
Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
version
:
4.1.
2
version
:
4.1.
3
homepage
:
https://github.com/jonataslaw/getx
environment
:
...
...
Please
register
or
login
to post a comment