Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ikbendewilliam committed Sep 8, 2023
1 parent a4b4e9a commit bb22f4d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
39 changes: 20 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,55 @@
## [0.0.12] - 2023-09-08

* Fixed issues with Ratio and CustomImageCrop
- Fixed issues with Ratio and CustomImageCrop
- Added fillCropSpace as CustomImageFit

## [0.0.11] - 2023-09-01

* Added clipShapeOnCrop to prevent clipping the image to the crop shape
- Added clipShapeOnCrop to prevent clipping the image to the crop shape

## [0.0.10] - 2023-08-17

* Added didupdateWidget check to fix issues with updated images
- Added didupdateWidget check to fix issues with updated images

## [0.0.9] - 2023-08-10

* Added borderRadius
- Added borderRadius

## [0.0.8] - 2023-08-10

* Added pathPaint to customize the crop border style
- Added pathPaint to customize the crop border style

## [0.0.7] - 2023-08-09

* Added Ratio as new shape and arguments
- Added Ratio as new shape and arguments

## [0.0.6]

* Added new param to CustomImageCrop for new image fit types
- Added new param to CustomImageCrop for new image fit types

## [0.0.5]

* Added canRotate
* Added customProgressIndicator
* Added canScale
* Added canMove
- Added canRotate
- Added customProgressIndicator
- Added canScale
- Added canMove

## [0.0.4]

* Added documentation
- Added documentation

## [0.0.3]

* Fixed issue where cropped image's size depends on screen size used
* Fixed issue where cropped image's quality is worse than original image
* Updated to flutter 2.8.0
- Fixed issue where cropped image's size depends on screen size used
- Fixed issue where cropped image's quality is worse than original image
- Updated to flutter 2.8.0

## [0.0.2]

* Updated docs
- Updated docs

## [0.0.1]

* Added custom crop
* Added Cicrle and Square crop shapes
* Added Solid and Dotted painters for crop border
- Added custom crop
- Added Cicrle and Square crop shapes
- Added Solid and Dotted painters for crop border
2 changes: 1 addition & 1 deletion lib/src/calculators/calculate_crop_fit_params.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ CropFitParams calculateCropFitParams({
defaultScale = screenHeight / imageHeight;
break;

case CustomImageFit.fillVisiblelWidth:
case CustomImageFit.fillVisibleWidth:
if (screenWidth <= screenHeight * aspectRatio) {
cropSizeWidth = screenWidth * cropPercentage;
cropSizeHeight = cropSizeWidth / aspectRatio;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/calculators/calculate_on_crop_params.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ OnCropParams caclulateOnCropParams({
}
break;

case CustomImageFit.fillVisiblelWidth:
case CustomImageFit.fillVisibleWidth:
final heightToWidthRatio = (screenHeight / screenWidth);
uiSize = screenWidth;
cropSizeMax = imageWidth.toDouble();
Expand Down

0 comments on commit bb22f4d

Please sign in to comment.