File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
packages/flutter_box_transform/lib/src Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ class TransformableBox extends StatefulWidget {
143143 final RectChangeEvent ? onChanged;
144144
145145 /// A callback that is called every time the [TransformableBox] is tapped.
146- final TapEvent ? onTap;
146+ final VoidCallback ? onTap;
147147
148148 /// A callback that is called when [TransformableBox] triggers a pointer down
149149 /// event to begin a drag operation.
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ typedef RectChangeEvent = void Function(
2525 DragUpdateDetails event,
2626);
2727
28- /// A callback that is called when the box is tapped.
29- typedef TapEvent = void Function ();
30-
3128/// A callback that is called when the box begins a drag operation.
3229typedef RectDragStartEvent = void Function (
3330 DragStartDetails event,
You can’t perform that action at this time.
0 commit comments