Skip to content

Commit

Permalink
general improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Dn-a committed Apr 28, 2020
1 parent 7ec2e4b commit 7693209
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.5.5+2] - 2020-04-28.

* general improvements.

## [0.5.5+1] - 2020-04-28.

* Fixed issues : #30 and #33.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# flutter_inner_drawer
[![pub package](https://img.shields.io/badge/pub-0.5.5+1-orange.svg)](https://pub.dartlang.org/packages/flutter_inner_drawer)
[![pub package](https://img.shields.io/badge/pub-0.5.5+2-orange.svg)](https://pub.dartlang.org/packages/flutter_inner_drawer)
[![Awesome Flutter](https://img.shields.io/badge/Awesome-Flutter-blue.svg?longCache=true&style=flat-square)](https://github.com/Solido/awesome-flutter#drawers)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/dnag88)

Expand All @@ -10,7 +10,7 @@ Inner Drawer is an easy way to create an internal side section (left/right) wher
Add this to your package's pubspec.yaml file:
```dart
dependencies:
flutter_inner_drawer: "^0.5.5+1"
flutter_inner_drawer: "^0.5.5+2"
```
## Demo
<div align="center">
Expand Down
8 changes: 4 additions & 4 deletions example/lib/example_3.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ class _ExampleThreeState extends State<ExampleThree> {
),
),
),
onDragUpdate: (a, b) {
innerDrawerCallback: (a) {
print(a);
if (a == 1) {
if (a) {
myFocusNode2.requestFocus();
} else if (a < 0.1) {
myFocusNode.requestFocus();
} else {
//myFocusNode.requestFocus();
}
},
);
Expand Down
2 changes: 1 addition & 1 deletion lib/inner_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ class InnerDrawerState extends State<InnerDrawer>
child: Stack(
alignment: _drawerInnerAlignment,
children: <Widget>[
_animatedChild(),
FocusScope(node: _focusScopeNode, child: _animatedChild()),
GestureDetector(
key: _gestureDetectorKey,
onTap: () {},
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_inner_drawer
description: Inner Drawer is an easy way to create an internal side section (left/right) where you can insert a list menu or other.
version: 0.5.5+1
version: 0.5.5+2
author: Antonino Di Natale <[email protected]>
homepage: https://github.com/Dn-a/flutter_inner_drawer

Expand Down

0 comments on commit 7693209

Please sign in to comment.