CameraButton constructor

const CameraButton({
  1. Key? key,
  2. CameraButtonState value = CameraButtonState.photo,
  3. VoidCallback? onPress,
  4. VoidCallback? onLongPress,
})

Creates the shutter.

Implementation

const CameraButton({
  super.key,
  this.value = CameraButtonState.photo,
  this.onPress,
  this.onLongPress,
});