Skip to content

Commit

Permalink
Allow AlignmentGeometry for alignment (#228)
Browse files Browse the repository at this point in the history
Thanks for the contribution
  • Loading branch information
AlexV525 authored Aug 3, 2022
1 parent 4cd9ec7 commit 0e7499d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [1.4.1]
- Allow `AlignmentGeometry` for `alignment`.

## [1.4.0]
- Added `filterQuality` property to control the performance vs quality trade-off to use when drawing images

Expand Down
8 changes: 4 additions & 4 deletions lib/src/lottie.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Lottie extends StatefulWidget {
double? width,
double? height,
BoxFit? fit,
Alignment? alignment,
AlignmentGeometry? alignment,
String? package,
bool? addRepaintBoundary,
FilterQuality? filterQuality,
Expand Down Expand Up @@ -101,7 +101,7 @@ class Lottie extends StatefulWidget {
double? width,
double? height,
BoxFit? fit,
Alignment? alignment,
AlignmentGeometry? alignment,
bool? addRepaintBoundary,
FilterQuality? filterQuality,
WarningCallback? onWarning,
Expand Down Expand Up @@ -147,7 +147,7 @@ class Lottie extends StatefulWidget {
double? width,
double? height,
BoxFit? fit,
Alignment? alignment,
AlignmentGeometry? alignment,
bool? addRepaintBoundary,
FilterQuality? filterQuality,
WarningCallback? onWarning,
Expand Down Expand Up @@ -193,7 +193,7 @@ class Lottie extends StatefulWidget {
double? width,
double? height,
BoxFit? fit,
Alignment? alignment,
AlignmentGeometry? alignment,
bool? addRepaintBoundary,
FilterQuality? filterQuality,
WarningCallback? onWarning,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: lottie
description: Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player.
version: 1.4.0
version: 1.4.1
homepage: https://github.com/xvrh/lottie-flutter

environment:
Expand Down

0 comments on commit 0e7499d

Please sign in to comment.