Straightforward setup for the camera package, if you'd rather not deal with all the design work.
Pick image or video with hardware camera or gallery and specify options.
See setup for camera and image_picker to continue
Import package
import 'package:native_camera/native_camera.dart';final CameraFile? picked = await NativeCamera.launch(
context,
allowGallery: true,
cameraMode: CameraMode.both,
);
