camera_extended_ios 0.9.30 copy "camera_extended_ios: ^0.9.30" to clipboard
camera_extended_ios: ^0.9.30 copied to clipboard

PlatformiOS

iOS implementation of camera_extended plugin with native aspect ratio support (16:9, 4:3, 1:1).

camera_extended_ios #

iOS implementation of camera_extended with native aspect ratio support.

Built with AVFoundation.

Features #

This package extends the original camera_avfoundation with:

  • Native Aspect Ratio Selection - Configure aspect ratio at AVFoundation level
  • Format Selection - Automatically selects best format for requested ratio
  • Automatic Fallback - Falls back to 4:3 when 1:1 not available

Aspect Ratio Support #

Ratio Support Notes
16:9 Native Full support
4:3 Native Full support
1:1 Fallback Falls back to 4:3 (iOS has no native 1:1)

Usage #

This package is automatically included when you use camera_extended.

dependencies:
  camera_extended: ^0.11.11

How It Works #

The plugin uses AVFoundation's format selection:

// Select format matching aspect ratio
FormatUtils.selectBestFormatForAspectRatio(
  for: captureDevice,
  aspectRatio: mediaSettings.aspectRatio,
  resolutionPreset: mediaSettings.resolutionPreset,
  videoDimensionsConverter: videoDimensionsConverter
)

Permissions #

Add to Info.plist:

<key>NSCameraUsageDescription</key>
<string>Camera access required.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Microphone access required.</string>

Based On #

Fork of camera_avfoundation version 0.9.22+8.

0
likes
150
points
89
downloads

Publisher

unverified uploader

Weekly Downloads

iOS implementation of camera_extended plugin with native aspect ratio support (16:9, 4:3, 1:1).

Repository (GitHub)
View/report issues

Topics

#camera

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

camera_extended_platform_interface, flutter, stream_transform

More

Packages that depend on camera_extended_ios

Packages that implement camera_extended_ios