Apparence-io / CamerAwesome

πŸ“Έ Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
911 stars 200 forks source link

✨ Zoom indicator #323

Closed apalala-dev closed 1 year ago

apalala-dev commented 1 year ago

Description

This PR provides a visual feedback of the current zoom: image

If minZoom is < 1.0x, three dots are displayed with the following rule to determine which one is the currently selected:

The selected dot show the exact zoom ratio. Each dot can be selected to go to minZoom, 1.0x and maxZoom respectively.

CamerAwesome now keeps the same zoom when switching between photo and video mode.

Users might want to convert a zoomRatio to a zoom percentage (CamerAwesome expects a zoom percentage), but we'll work on that for a later release if we have feedback about this.

Checklist

Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

Breaking Change

If your feature break something, please detail it