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
Jonny Borges
2021-07-30 18:11:30 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
25964451685835ef08ef2920c823b7b15e46b8f6
25964451
2 parents
0eb2c71f
0f02a796
Merge branch 'master' of
https://github.com/jonataslaw/getx
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
lib/get_utils/src/extensions/internacionalization.dart
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
View file @
2596445
...
...
@@ -109,7 +109,7 @@ mixin RxObjectMixin<T> on NotifyManager<T> {
return
_value
;
}
Stream
<
T
?
>
get
stream
=>
subject
.
stream
;
Stream
<
T
>
get
stream
=>
subject
.
stream
;
/// Binds an existing `Stream<T>` to this Rx<T> to keep the values in sync.
/// You can bind multiple sources to update the value.
...
...
lib/get_utils/src/extensions/internacionalization.dart
View file @
2596445
...
...
@@ -55,7 +55,7 @@ extension Trans on String {
return
i
==
1
?
trArgs
(
args
)
:
pluralKey
!.
trArgs
(
args
);
}
String
?
trParams
([
Map
<
String
,
String
>
params
=
const
{}])
{
String
trParams
([
Map
<
String
,
String
>
params
=
const
{}])
{
var
trans
=
tr
;
if
(
params
.
isNotEmpty
)
{
params
.
forEach
((
key
,
value
)
{
...
...
@@ -65,7 +65,7 @@ extension Trans on String {
return
trans
;
}
String
?
trPluralParams
(
String
trPluralParams
(
[
String
?
pluralKey
,
int
?
i
,
Map
<
String
,
String
>
params
=
const
{}])
{
return
i
==
1
?
trParams
(
params
)
:
pluralKey
!.
trParams
(
params
);
}
...
...
Please
register
or
login
to post a comment