feat: update position table

This commit is contained in:
efrilm
2025-08-04 00:09:51 +07:00
parent 6afd62b617
commit 6302ea0282
7 changed files with 251 additions and 26 deletions
@@ -110,12 +110,12 @@ class _TableManagementScreenState extends State<TableManagementScreen> {
feedback: TableWidget(table: table),
childWhenDragging: SizedBox.shrink(),
onDragEnd: (details) {
// context
// .read<ChangePositionTableBloc>()
// .add(ChangePositionTableEvent.changePositionTable(
// tableId: table.id,
// position: details.offset,
// ));
context
.read<ChangePositionTableBloc>()
.add(ChangePositionTableEvent.changePositionTable(
tableId: table.id ?? "",
position: details.offset,
));
},
child: TableWidget(table: table),
),