Skip to content

Commit fe5642b

Browse files
committed
v1.1.0
1 parent 22850d3 commit fe5642b

File tree

6 files changed

+28
-23
lines changed

6 files changed

+28
-23
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
## 1.0.1
1+
## 1.1.0
2+
* Added Initial page attribute. [cda6de80113502f17da8085d95c5eaea543f42b7](https://github.com/iamSahdeep/liquid_swipe_flutter/commit/cda6de80113502f17da8085d95c5eaea543f42b7)
3+
* Added Slide Icon on pages. [32680cdc4571a705b4e7f11467b450e37016807d](https://github.com/iamSahdeep/liquid_swipe_flutter/commit/32680cdc4571a705b4e7f11467b450e37016807d)
4+
* Other Minor Fixes. [52d159403525261dbfaa99a52af718a1ddc8274f](https://github.com/iamSahdeep/liquid_swipe_flutter/commit/52d159403525261dbfaa99a52af718a1ddc8274f)
5+
## 1.0.2
26

37
* Minor spell changes
48

5-
## 1.0.2
9+
## 1.0.1
610

711
* Initialized
812

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<p align="center">
2121
<img src="https://github.com/iamSahdeep/liquid_swipe_flutter/assets/example.gif" width="360" height="640">
22-
<img src="https://github.com/iamSahdeep/liquid_swipe_flutter/assets/example.gif" width="360" height="640">
22+
<img src="https://github.com/iamSahdeep/liquid_swipe_flutter/assets/another.gif" width="360" height="640">
2323
</p>
2424

2525
### Sample APK
@@ -74,6 +74,16 @@ Download example apk as shown in sample.
7474

7575
* Check out the complete [Example](https://github.com/iamSahdeep/liquid_swipe_flutter/tree/master/example)
7676

77+
### Attributes
78+
### Attributes
79+
80+
| Attribute | Datatype | Description | Default Value | Comments |
81+
| :-------------------- | :------------- | :------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------: |:---------------------------------------------------------------------------------------------: |
82+
| pages | `List<Container>` | Set the Pages/ views/ Containers | Null | A Page can contain anything, look for an example|
83+
| fullTransitionValue | `double` | Sets the scroll distance or sensitivity for a complete swipe. | 400.0 | This transition value can be used to increase or decrease the sensitivity of the swipe. 100.0 would make swipe really fast with even a bit of drag |
84+
| initialPage | `int` | Set the initial Page | 0 | Should not be >= no.of pages or smaller than 0 |
85+
| enableSlideIcon |`bool` | Used to enable Slide icon to the right for where the wave would originate | false | Gives a ios style arrow to right side of the screen. Might include modification to it soon. |
86+
7787
### Credits
7888
- [Cuberto](https://github.com/Cuberto) for awesome [Liquid Swipe](https://github.com/Cuberto/liquid-swipe) in Swift.
7989
- [@aagarwal1012](https://github.com/aagarwal1012) for [IntroViews](https://github.com/aagarwal1012/IntroViews-Flutter), it made my work too easy.

assets/another.gif

2.95 MB
Loading

example/README.md

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22

33
Demonstrates how to use the liquid_swipe plugin.
44

5-
6-
### Sample
7-
8-
![Video](https://github.com/iamSahdeep/liquid_swipe_flutter/blob/master/example.gif)
9-
10-
### APK
11-
[Download](https://github.com/iamSahdeep/liquid_swipe_flutter/blob/master/app-release.apk)
12-
135
## Usage
146
* Add this to your pubspec.yaml
157
```
168
dependencies:
17-
liquid_swipe: ^1.0.2
9+
liquid_swipe: ^1.1.0
1810
1911
```
2012
* Get package from Pub:
@@ -156,22 +148,21 @@ Demonstrates how to use the liquid_swipe plugin.
156148
];
157149
```
158150

159-
* Second, just pass it to liquidswipe constructor.
151+
* Second, just pass it to Liquid Swipe Widget.
160152
```
161153
@override
162154
Widget build(BuildContext context) {
163155
return new MaterialApp(
164-
home: Builder(
165-
builder: (context) =>
166-
LiquidSwipe(
167-
pages: pages
168-
)),
169-
);
156+
home: new Scaffold(
157+
body: LiquidSwipe(
158+
pages: pages,
159+
fullTransitionValue: 500,
160+
enableSlideIcon: true,
161+
)));
170162
}
171163
```
172164
* Remember pages can only be containers.
173-
* Check out the complete [Example](https://github.com/iamSahdeep/liquid_swipe_flutter/tree/master/example)
174-
165+
* More Examples might come soon.
175166

176167
## Getting Started
177168

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ packages:
5252
path: ".."
5353
relative: true
5454
source: path
55-
version: "1.0.2"
55+
version: "1.1.0"
5656
matcher:
5757
dependency: transitive
5858
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: liquid_swipe
22
description: A Flutter plugin to implement liquid Swipe effect to provided containers.
3-
version: 1.0.2
3+
version: 1.1.0
44
author: Sahdeep Singh <[email protected]>
55
homepage: https://github.com/iamSahdeep/liquid_swipe_flutter
66

0 commit comments

Comments
 (0)