mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 14:44:56 +00:00
dynamic update
This commit is contained in:
@ -26,6 +26,7 @@ class SpaceCardWidget extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GestureDetector(
|
||||
behavior: HitTestBehavior.opaque,
|
||||
onPanUpdate: (details) {
|
||||
// Call the provided callback to update the position
|
||||
onPanUpdate(index, details.delta);
|
||||
|
||||
Reference in New Issue
Block a user