Skip to content

Commit

Permalink
feat: remove unnecessary type def
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimunge authored and BirjuVachhani committed Jun 11, 2024
1 parent 2e0e943 commit 0314cc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class TransformableBox extends StatefulWidget {
final RectChangeEvent? onChanged;

/// A callback that is called every time the [TransformableBox] is tapped.
final TapEvent? onTap;
final VoidCallback? onTap;

/// A callback that is called when [TransformableBox] triggers a pointer down
/// event to begin a drag operation.
Expand Down
3 changes: 0 additions & 3 deletions packages/flutter_box_transform/lib/src/typedefs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ typedef RectChangeEvent = void Function(
DragUpdateDetails event,
);

/// A callback that is called when the box is tapped.
typedef TapEvent = void Function();

/// A callback that is called when the box begins a drag operation.
typedef RectDragStartEvent = void Function(
DragStartDetails event,
Expand Down

0 comments on commit 0314cc1

Please sign in to comment.