Skip to content

Commit 1cdb59b

Browse files
authored
Merge pull request #27 from alex-melnyk/quickfix
props names fixed.
2 parents d40ce2a + 3b9113e commit 1cdb59b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.3.0
2+
3+
* Animation controller could be passed via props.
4+
15
## 1.2.4
26

37
* Animation after dispose fixed.

lib/src/widget.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class AdvancedDrawer extends StatefulWidget {
5252
/// Disable gestures.
5353
final bool disabledGestures;
5454

55-
/// Controller that controlls widget animation.
55+
/// Controller that controls widget animation.
5656
final AnimationController? animationController;
5757

5858
@override
@@ -270,7 +270,7 @@ class _AdvancedDrawerState extends State<AdvancedDrawer>
270270
_controller.dispose();
271271
}
272272

273-
if (widget.animationContoller == null) {
273+
if (widget.animationController == null) {
274274
_animationController.dispose();
275275
}
276276

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_advanced_drawer
22
description: An advanced drawer widget, that can be fully customized with size, text, color, radius of corners.
3-
version: 1.2.4
3+
version: 1.3.0
44
homepage: https://github.com/alex-melnyk/flutter_advanced_drawer
55
repository: https://github.com/alex-melnyk/flutter_advanced_drawer
66
issue_tracker: https://github.com/alex-melnyk/flutter_advanced_drawer/issues

0 commit comments

Comments
 (0)