- Added
debugCheckIsDisposed()
inmagiceye_widget.dart
.
- My linter was broken, so I uploaded last version with a lot of errors. :(
- This version is just those errors fixed
- Correctly export
ResolutionPreset
andCameraLensDirection
enums - Updated pubspec.yaml flutter.plugin
- Defined minimal flutter version to 1.12 on pubspec.yaml
- Update pubspec.yaml
- Upgrade
dartz
to^0.9.0
- In this new version, we can now use
const None()
instead of simplyNone()
, so I replaced all instances 🙃
- Upgrade
rxdart
to^0.24.0
- Apply
pedantic
rules (for some reason, I forgot to include the package on 0.1.3+2, so my linter wouldn't behave correctly) - Remove
pubspec.lock
from git, as it is recommended for library packages.¹
- Added a new parameter to
MagicEye
to control preview alignment. - Possibly Breaking Change: By default, the alignment is now
topCenter
.
- Added a
analysis_options.yaml
file- Included
pedantic
linter rules - Set up stricter rules for static anasysis
- Included
- Fix regression (issue #3)
- Fix defaultCameraControlLayer secondChild getting the firstChild hit
- Assert that
MagicEye
parameters are notnull
, except forkey
- Export default layers
- Constrained example orientation with
SystemChrome.setPreferredOrientations
- Now the default allowed directions is not
portrait
, but all of them, as it's more intuitive - Little improvement on in-code documentation
- Possibly Breaking Change: Change DeviceDirection enum to represent more intuitively the directions. Now,
landscape
islandscapeLeft
, andlandscapeReversed
islandscapeRight
- Updated README.md
- Formatting
- Updated README.md
- Updated README.md
- API has reached a reasonable stability
- README.md has been updated with enough info
- Little update on the documentation
- Fix [BehaviorSubject] instantiation
- Little improvement on NaviveDeviceDirection handling
- Fix for [DeviceDirection.difference]
- Tests for [DeviceDirection.difference]
- Adjustment on [DeviceDirection.difference] method
- Added a method to returs the difference of directions in degrees
- See [DeviceDirection.difference]
- Center image on default control layer confirmation
- Small update on README.md
- Deal with all warnings
- Dealing with controllers' resources release (issue present since 0.0.1)
- Fixes camera freezing by disconnection (issue present since 0.0.1)
- Small cleanup and documentation update
- Fixed error handling
- Provide direction as a BehaviorSubject instead of a Stream on contexts
- Improvements on defaultCameraControl
- Example cleanups
- Fixed PreviewLayer functions
- Some corrections on formatting
- Updated description
- Updated rxdart dependency
- This breaks the API
- Instead of returning an [Option], the [.push] method now returns a [Either<MagicEyeException, String>], in concordance with [takePicture] method. This change provides an efficient way to handle camera exceptions
- Improvements on documentation
- Make functions [toRadian] and [toDegrees] for [DeviceDirection] into extension methods ([.radian] and [.degrees] respectively)
- For this, raised Dart SDK requirement to 2.7
- Also, reraised required path_provider version to 1.5.1
- Lowered required path_provider version to 1.5.0 so it's backward compatible with Flutter 1.9
- Lowered required rxdart version to ^0.22.5
- Lowered required Dart SDK to 2.5
- Exported DeviceCamera
- Unexported default_camera_control_layer
- Instead of [pushWithConfirmation] (not yet implemented), the confirmation screen has been implemented on the [defaultCameraControlLayer] method
- Change on package structure
- Little change on API: instead of returning a String, now the MagicEye return an [Option]. Futurely, it will return a [Either<MagicEyeException, String>]
- Initial release: basic functionality
- Default preview and controls
- Allow for custom control and preview layers
- Old controllers not being disposed
- Camera goes disabled by policy if the device locked
- Camera freezes if you change to another app that uses the camera
- No proper handle of black area when the device's aspect ratio is higher than camera's one
The readme will be made later. Thanks
The example folder is working, but its just a personal test of the package. A proper example with MREs and diverse options will be available in the future