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-03-26 12:58:28 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
778d80b710bb77b64f3f506ade6fc81c5401cd31
778d80b7
1 parent
6ef78a2b
update to 4.0.3
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
16 deletions
CHANGELOG.md
analysis_options.yaml
lib/get_navigation/src/extension_navigation.dart
lib/get_rx/src/rx_types/rx_iterables/rx_list.dart
lib/get_rx/src/rx_types/rx_iterables/rx_map.dart
lib/get_rx/src/rx_types/rx_iterables/rx_set.dart
pubspec.yaml
CHANGELOG.md
View file @
778d80b
## [4.0.3]
-
Added new linter rules to improve score
## [4.0.2]
-
Removed "!" of if else conditions until the null-safety of the dart is consistent for using it.
...
...
analysis_options.yaml
View file @
778d80b
...
...
@@ -21,6 +21,7 @@ linter:
# STYLE
camel_case_types
:
true
close_sinks
:
true
unnecessary_statements
:
true
camel_case_extensions
:
true
library_names
:
true
file_names
:
true
...
...
lib/get_navigation/src/extension_navigation.dart
View file @
778d80b
...
...
@@ -1102,8 +1102,6 @@ Since version 2.8 it is possible to access the properties
return
WidgetsBinding
.
instance
;
}
//TODO: Change to ui.SingletonFlutterWindow rather dynamic
//when Flutter update stable. dynamic is used to avoid Breaking Changes
/// The window to which this binding is bound.
ui
.
SingletonFlutterWindow
get
window
=>
ui
.
window
;
...
...
lib/get_rx/src/rx_types/rx_iterables/rx_list.dart
View file @
778d80b
...
...
@@ -143,9 +143,9 @@ extension ListExtension<E> on List<E> {
/// Replaces all existing items of this list with [item]
void
assign
(
E
item
)
{
if
(
this
is
RxList
)
{
(
this
as
RxList
).
_value
;
}
// if (this is RxList) {
// (this as RxList)._value;
// }
clear
();
add
(
item
);
...
...
@@ -153,9 +153,9 @@ extension ListExtension<E> on List<E> {
/// Replaces all existing items of this list with [items]
void
assignAll
(
Iterable
<
E
>
items
)
{
if
(
this
is
RxList
)
{
(
this
as
RxList
).
_value
;
}
// if (this is RxList) {
// (this as RxList)._value;
// }
clear
();
addAll
(
items
);
}
...
...
lib/get_rx/src/rx_types/rx_iterables/rx_map.dart
View file @
778d80b
...
...
@@ -83,7 +83,7 @@ extension MapExtension<K, V> on Map<K, V> {
void
assign
(
K
key
,
V
val
)
{
if
(
this
is
RxMap
)
{
final
map
=
(
this
as
RxMap
);
map
.
_value
;
//
map._value;
map
.
_value
.
clear
();
this
[
key
]
=
val
;
}
else
{
...
...
lib/get_rx/src/rx_types/rx_iterables/rx_set.dart
View file @
778d80b
...
...
@@ -134,9 +134,9 @@ extension SetExtension<E> on Set<E> {
/// Replaces all existing items of this list with [item]
void
assign
(
E
item
)
{
if
(
this
is
RxSet
)
{
(
this
as
RxSet
).
_value
;
}
// if (this is RxSet) {
// (this as RxSet)._value;
// }
clear
();
add
(
item
);
...
...
@@ -144,9 +144,9 @@ extension SetExtension<E> on Set<E> {
/// Replaces all existing items of this list with [items]
void
assignAll
(
Iterable
<
E
>
items
)
{
if
(
this
is
RxSet
)
{
(
this
as
RxSet
).
_value
;
}
// if (this is RxSet) {
// (this as RxSet)._value;
// }
clear
();
addAll
(
items
);
}
...
...
pubspec.yaml
View file @
778d80b
name
:
get
description
:
Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
version
:
4.0.
2
version
:
4.0.
3
homepage
:
https://github.com/jonataslaw/getx
environment
:
...
...
Please
register
or
login
to post a comment