CameraWithGps class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addGps(
{required String path, required double latitude, required double longitude}) → Future< bool> - Add GPS EXIF to a saved photo (implemented natively via MethodChannel).
-
openCamera(
BuildContext context, {bool allowGallery = true}) → Future< String?> -
Open the full-screen camera preview.
allowGallery— whether to show the gallery button in the camera UI. -
openCameraPhotoOnly(
BuildContext context) → Future< String?> - Convenience helper: Open the camera without gallery access (photo-only flow).
-
pickFromGallery(
) → Future< String?> - Smart gallery picker:
-
removeGps(
{required String path}) → Future< bool> - Remove GPS EXIF from a photo — useful if fake coordinates are detected.