From 200b36777d822f24a39cfac2e9f5e612b3d7f96d Mon Sep 17 00:00:00 2001 From: NikhilVadoliya <32728684+NikhilVadoliya@users.noreply.github.com> Date: Sun, 31 May 2020 18:19:35 +0530 Subject: [PATCH 1/3] add small description of plugin --- README.md | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e06f817..a3d11f7 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,49 @@ -# fluttersliderdrawer +# Flutter slider drawer -A new Flutter plugin. + +A Flutter package with custom implementation of the Sider Drawer Menu (Drawer) ![Plugin example demo](demo.gif) -## Getting Started +To start using this package, add `fluttersliderdrawer` dependency to your `pubspec.yaml` + +```yaml +dependencies: + fluttersliderdrawer: '' +``` + + + +# Features + + - Slider with custom animation time + - Provide Basic Appbar with customization of color, sizes and titles + - Dynamic slider open and close offset + - Provide drawer icon animation +# Code +``` +SliderMenuContainer( + appBarColor: Colors.white, + key: _key, + appBarPadding: const EdgeInsets.only(top: 20), + sliderMenuOpenOffset: 250, + appBarHeight: 60, + title: Text( + title, + style: TextStyle(fontSize: 22, fontWeight: FontWeight.w700), + ), + sliderMenuWidget: MenuWidget( + onItemClick: (title) { + _key.currentState.closeDrawer(); + setState(() { + this.title = title; + }); + }, + ), + sliderMainWidget: MainWidget()), + ``` From e6992c3f64aaae34eb446e1f7304fc6704454666 Mon Sep 17 00:00:00 2001 From: NikhilVadoliya <32728684+NikhilVadoliya@users.noreply.github.com> Date: Sun, 31 May 2020 18:20:28 +0530 Subject: [PATCH 2/3] update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3d11f7..0004061 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Flutter slider drawer -A Flutter package with custom implementation of the Sider Drawer Menu (Drawer) +A Flutter package with custom implementation of the Sider Drawer Menu ![Plugin example demo](demo.gif) @@ -20,7 +20,7 @@ dependencies: # Features - Slider with custom animation time - - Provide Basic Appbar with customization of color, sizes and titles + - Provide Basic Appbar with customization of color, sizes and title - Dynamic slider open and close offset - Provide drawer icon animation From c1b00954a0536ffb2fb77dadfed70903f23a61e7 Mon Sep 17 00:00:00 2001 From: NikhilVadoliya <32728684+NikhilVadoliya@users.noreply.github.com> Date: Sun, 31 May 2020 18:30:07 +0530 Subject: [PATCH 3/3] update plugin name --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0004061..01a5af1 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ A Flutter package with custom implementation of the Sider Drawer Menu -To start using this package, add `fluttersliderdrawer` dependency to your `pubspec.yaml` +To start using this package, add `flutter_slider_drawer` dependency to your `pubspec.yaml` ```yaml dependencies: - fluttersliderdrawer: '' + flutter_slider_drawer: '' ```