mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
opt.: store
This commit is contained in:
@@ -7,7 +7,7 @@ extension OrderX<T> on Order<T> {
|
||||
void move(
|
||||
int oldIndex,
|
||||
int newIndex, {
|
||||
StoreProperty<List<T>>? property,
|
||||
StorePropertyBase<List<T>>? property,
|
||||
_OnMove<T>? onMove,
|
||||
}) {
|
||||
if (oldIndex == newIndex) return;
|
||||
@@ -35,7 +35,7 @@ extension OrderX<T> on Order<T> {
|
||||
List<T> items,
|
||||
int o,
|
||||
int n, {
|
||||
StoreProperty<List<T>>? property,
|
||||
StorePropertyBase<List<T>>? property,
|
||||
_OnMove<T>? onMove,
|
||||
}) {
|
||||
if (o == n) return;
|
||||
|
||||
Reference in New Issue
Block a user