Jonatas

update to 3.21.2

## [3.21.2]
- Fix GetConnect.request returning a PUT request
## [3.21.1]
- Allow null body to POST method on GetConnect
... ...
... ... @@ -170,8 +170,9 @@ class GetConnect extends GetConnectInterface {
Decoder<T> decoder,
}) {
_checkIfDisposed();
return httpClient.put(
return httpClient.request(
url,
method,
body: body,
headers: headers,
contentType: contentType,
... ...
... ... @@ -312,7 +312,7 @@ class GetHttpClient {
Future<Response<T>> request<T>(
String url,
String method, {
Map<String, dynamic> body,
dynamic body,
String contentType,
Map<String, String> headers,
Map<String, dynamic> query,
... ...
... ... @@ -204,6 +204,7 @@ class GetCupertinoApp extends StatelessWidget {
settings: RouteSettings(name: name, arguments: null),
curve: unknownRoute.curve,
opaque: unknownRoute.opaque,
routeName: unknownRoute.name,
customTransition: unknownRoute.customTransition,
binding: unknownRoute.binding,
bindings: unknownRoute.bindings,
... ... @@ -223,6 +224,7 @@ class GetCupertinoApp extends StatelessWidget {
settings: RouteSettings(name: name, arguments: null),
curve: match.route.curve,
opaque: match.route.opaque,
routeName: match.route.name,
binding: match.route.binding,
bindings: match.route.bindings,
transitionDuration:
... ...
... ... @@ -215,6 +215,7 @@ class GetMaterialApp extends StatelessWidget {
settings: RouteSettings(name: name, arguments: null),
curve: unknownRoute.curve,
opaque: unknownRoute.opaque,
routeName: unknownRoute.name,
customTransition: unknownRoute.customTransition,
binding: unknownRoute.binding,
bindings: unknownRoute.bindings,
... ... @@ -235,6 +236,7 @@ class GetMaterialApp extends StatelessWidget {
curve: match.route.curve,
opaque: match.route.opaque,
binding: match.route.binding,
routeName: match.route.name,
bindings: match.route.bindings,
transitionDuration:
(match.route.transitionDuration ?? Get.defaultTransitionDuration),
... ...
name: get
description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX.
version: 3.21.1
version: 3.21.2
homepage: https://github.com/jonataslaw/getx
environment:
... ...