CameraInterface constructor

const CameraInterface({
  1. Key? key,
  2. required Function onTakePhoto,
})

Implementation

const CameraInterface({
  Key? key,
  required this.onTakePhoto,
}) : super(key: key);