diff --git a/CHANGELOG.md b/CHANGELOG.md index d4c6970..d9dbedb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [2.0.0] - Release + + * Added null safety + ## [1.2.1] - Release * Improve code document diff --git a/lib/src/app_bar.dart b/lib/src/app_bar.dart index ff7a42e..09e590c 100644 --- a/lib/src/app_bar.dart +++ b/lib/src/app_bar.dart @@ -19,14 +19,16 @@ class SliderAppBar extends StatelessWidget { const SliderAppBar( {Key? key, this.appBarPadding = const EdgeInsets.only(top: 24), - this.appBarColor = Colors.blue, this.drawerIcon, + this.appBarColor = Colors.blue, + this.drawerIcon, this.splashColor = Colors.black, this.drawerIconColor = Colors.black87, this.drawerIconSize = 27, required this.animationController, required this.onTap, required this.title, - required this.isTitleCenter, this.trailing, + required this.isTitleCenter, + this.trailing, required this.slideDirection, required this.appBarHeight}) : super(key: key); diff --git a/pubspec.yaml b/pubspec.yaml index 1efe40c..4b6981e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_slider_drawer description: A Flutter package with custom implementation of the Slider Drawer Menu -version: 1.2.1 +version: 2.0.0 homepage: https://github.com/NikhilVadoliya/Flutter_slider_drawer environment: