PreviewTransformBuilder typedef

PreviewTransformBuilder = Widget? Function(BuildContext context, CameraController controller, Widget child)

Build the transformed widget with the given CameraController. 根据给定的 CameraController 构建自定义的变换 widget

Implementation

typedef PreviewTransformBuilder = Widget? Function(
  BuildContext context,
  CameraController controller,
  Widget child,
);