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:15:05 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ef78a2bb8670c72560d93ccfc27015e263d63e8
6ef78a2b
1 parent
051af0d3
update to 4.0.2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
9 deletions
CHANGELOG.md
example/lib/main.dart
lib/get_connect/http/src/http/html/http_request_html.dart
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
pubspec.yaml
test/benchmarks/benckmark_test.dart
CHANGELOG.md
View file @
6ef78a2
## [4.0.2]
-
Removed "!" of if else conditions until the null-safety of the dart is consistent for using it.
## [4.0.1]
-
Fix changelog
...
...
example/lib/main.dart
View file @
6ef78a2
...
...
@@ -13,6 +13,7 @@ class MyApp extends StatelessWidget {
@override
Widget
build
(
BuildContext
context
)
{
Get
.
theme
!.
accentColor
;
return
GetMaterialApp
(
debugShowCheckedModeBanner:
false
,
enableLog:
true
,
...
...
lib/get_connect/http/src/http/html/http_request_html.dart
View file @
6ef78a2
...
...
@@ -37,7 +37,6 @@ class HttpRequestImpl implements HttpRequestBase {
..
responseType
=
'blob'
..
withCredentials
=
withCredentials
;
request
.
headers
.
forEach
(
xhr
.
setRequestHeader
);
request
.
contentLength
??
-
1
;
var
completer
=
Completer
<
Response
<
T
>>();
xhr
.
onLoad
.
first
.
then
((
_
)
{
...
...
lib/get_rx/src/rx_types/rx_core/rx_impl.dart
View file @
6ef78a2
...
...
@@ -250,13 +250,7 @@ class RxnBool extends Rx<bool?> {
RxnBool
(
bool
initial
)
:
super
(
initial
);
@override
String
toString
()
{
if
(
value
==
null
)
{
return
"null"
;
}
else
if
(
value
)
{
return
"true"
;
}
else
{
return
"false"
;
}
return
"
$value
"
;
}
}
...
...
pubspec.yaml
View file @
6ef78a2
name
:
get
description
:
Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
version
:
4.0.
1
version
:
4.0.
2
homepage
:
https://github.com/jonataslaw/getx
environment
:
...
...
test/benchmarks/benckmark_test.dart
View file @
6ef78a2
...
...
@@ -62,6 +62,7 @@ Future<int> stream() {
print
(
"""
$v
listeners notified | [STREAM] time:
${timer.elapsedMicroseconds}
ms"""
);
c
.
complete
(
timer
.
elapsedMicroseconds
);
value
.
close
();
}
});
...
...
Please
register
or
login
to post a comment