Jonatas Borges

update to 4.0.2

## [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
... ...
... ... @@ -13,6 +13,7 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
Get.theme!.accentColor;
return GetMaterialApp(
debugShowCheckedModeBanner: false,
enableLog: true,
... ...
... ... @@ -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((_) {
... ...
... ... @@ -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";
}
}
... ...
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:
... ...
... ... @@ -62,6 +62,7 @@ Future<int> stream() {
print(
"""$v listeners notified | [STREAM] time: ${timer.elapsedMicroseconds}ms""");
c.complete(timer.elapsedMicroseconds);
value.close();
}
});
... ...