diff --git a/lib/src/photo_view_image_wrapper.dart b/lib/src/photo_view_image_wrapper.dart index 3f3e76f8..25581300 100644 --- a/lib/src/photo_view_image_wrapper.dart +++ b/lib/src/photo_view_image_wrapper.dart @@ -6,10 +6,16 @@ import 'controller/photo_view_controller_delegate.dart'; import 'photo_view_hero_attributes.dart'; import 'photo_view_typedefs.dart'; -typedef PhotoViewImageTapUpCallback = Function(BuildContext context, - TapUpDetails details, PhotoViewControllerValue controllerValue); -typedef PhotoViewImageTapDownCallback = Function(BuildContext context, - TapDownDetails details, PhotoViewControllerValue controllerValue); +typedef PhotoViewImageTapUpCallback = Function( + BuildContext context, + TapUpDetails details, + PhotoViewControllerValue controllerValue, +); +typedef PhotoViewImageTapDownCallback = Function( + BuildContext context, + TapDownDetails details, + PhotoViewControllerValue controllerValue, +); /// Internal widget in which controls all animations lifecycle, core responses /// to user gestures, updates to the controller state and mounts the entire PhotoView Layout