Jonatas

update to 3.17.1

## [3.17.1]
- Allow list.assignAll, map.assignAll and set.assignAll operate with null values
## [3.17.0]
- Added GetCupertinoApp
- Added initial suport to navigator 2.0
... ...
... ... @@ -14,7 +14,6 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
StreamController();
return GetMaterialApp(
debugShowCheckedModeBanner: false,
enableLog: true,
... ...
... ... @@ -72,12 +72,14 @@ class RxList<E> extends ListMixin<E>
/// Replaces all existing items of this list with [item]
void assign(E item) {
_value ??= <E>[];
clear();
add(item);
}
/// Replaces all existing items of this list with [items]
void assignAll(Iterable<E> items) {
_value ??= <E>[];
clear();
addAll(items);
}
... ...
... ... @@ -46,6 +46,7 @@ class RxMap<K, V> extends MapMixin<K, V>
}
void assign(K key, V val) {
_value ??= <K, V>{};
_value.clear();
_value[key] = val;
refresh();
... ... @@ -53,6 +54,7 @@ class RxMap<K, V> extends MapMixin<K, V>
void assignAll(Map<K, V> val) {
if (_value == val) return;
_value ??= <K, V>{};
_value = val;
refresh();
}
... ...
... ... @@ -41,6 +41,7 @@ class RxSet<E> extends SetMixin<E>
/// Replaces all existing items of this list with [item]
void assign(E item) {
_value ??= <E>{};
clear();
add(item);
}
... ... @@ -52,6 +53,7 @@ class RxSet<E> extends SetMixin<E>
/// Replaces all existing items of this list with [items]
void assignAll(Iterable<E> items) {
_value ??= <E>{};
clear();
addAll(items);
}
... ...
name: get
description: Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX.
version: 3.17.0
version: 3.17.1
homepage: https://github.com/jonataslaw/getx
environment:
... ...