Skip to content

Commit

Permalink
Merge pull request #27 from alex-melnyk/quickfix
Browse files Browse the repository at this point in the history
props names fixed.
  • Loading branch information
alex-melnyk authored Nov 26, 2021
2 parents d40ce2a + 3b9113e commit 1cdb59b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.0

* Animation controller could be passed via props.

## 1.2.4

* Animation after dispose fixed.
Expand Down
4 changes: 2 additions & 2 deletions lib/src/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AdvancedDrawer extends StatefulWidget {
/// Disable gestures.
final bool disabledGestures;

/// Controller that controlls widget animation.
/// Controller that controls widget animation.
final AnimationController? animationController;

@override
Expand Down Expand Up @@ -270,7 +270,7 @@ class _AdvancedDrawerState extends State<AdvancedDrawer>
_controller.dispose();
}

if (widget.animationContoller == null) {
if (widget.animationController == null) {
_animationController.dispose();
}

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: flutter_advanced_drawer
description: An advanced drawer widget, that can be fully customized with size, text, color, radius of corners.
version: 1.2.4
version: 1.3.0
homepage: https://github.com/alex-melnyk/flutter_advanced_drawer
repository: https://github.com/alex-melnyk/flutter_advanced_drawer
issue_tracker: https://github.com/alex-melnyk/flutter_advanced_drawer/issues
Expand Down

0 comments on commit 1cdb59b

Please sign in to comment.