We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2785b7b commit 21d97d9Copy full SHA for 21d97d9
lib/board_item.dart
@@ -47,7 +47,7 @@ class BoardItemState extends State<BoardItem>
47
@override
48
bool get wantKeepAlive => true;
49
50
- void onDropItem(int? listIndex, int? itemIndex) {
+ void _onDropItem(int? listIndex, int? itemIndex) {
51
if (widget.onDropItem != null) {
52
widget.onDropItem!(
53
listIndex,
@@ -65,7 +65,7 @@ class BoardItemState extends State<BoardItem>
65
66
void _startDrag(Widget item, BuildContext context) {
67
if (widget.boardList!.widget.boardView != null) {
68
- widget.boardList!.widget.boardView!.onDropItem = onDropItem;
+ widget.boardList!.widget.boardView!.onDropItem = _onDropItem;
69
if (widget.boardList!.mounted) {
70
widget.boardList!.setState(() {});
71
}
0 commit comments