You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-25Lines changed: 28 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,11 @@
3
3
4
4
IntroViews is inspired by [Paper Onboarding](https://github.com/Ramotion/paper-onboarding-android) and developed with `love` from scratch. I decided to rewrite almost all the features in order to make it available to the `flutter` developers and extensible as possible.
@@ -77,47 +78,48 @@ You should then run `flutter packages get` in your terminal so as to get the pac
77
78
},
78
79
showSkipButton: true,
79
80
pageButtonTextStyles: new TextStyle(
80
-
color: Colors.white,
81
+
color: Colors.white,
81
82
fontSize: 18.0,
82
83
fontFamily: "Regular",
83
84
),
84
85
);
85
86
```
87
+
86
88
For further usage refer the [`example`](https://github.com/aagarwal1012/IntroViews-Flutter/tree/master/example/lib) available.
87
89
88
90
For `Landscape` preview click the [link](https://github.com/aagarwal1012/IntroViews-Flutter/blob/master/display/landscape2.png?raw=true).
89
91
90
-
***Note :*** If you added more than four pages in the list then there might be overlapping between `page icons` and `skip button`, so my suggestion is just make the `showSkipButton: false`.
92
+
**_Note :_** If you added more than four pages in the list then there might be overlapping between `page icons` and `skip button`, so my suggestion is just make the `showSkipButton: false`.
91
93
92
94
# Documentation
93
95
94
96
### PageViewModel Class
95
97
96
-
| Dart attribute | Datatype | Description| Default Value |
| pageColor | Color | Set color of the page. | Null |
99
-
| mainImage | Image | Set the main image of the page. | Null |
100
-
| title | Text | Set the title text of the page. | Null |
101
-
| body | Text | Set the body text of the page. | Null |
102
-
| iconImageAssetPath | String | Set the icon image asset path that would be displayed in page bubble. | Null |
103
-
| iconColor | Color | Set the page bubble icon color. | Null |
104
-
| bubbleBackgroundColor | Color | Set the page bubble background color. | Colors.white |
105
-
| textStyle | TextStyle | Set TextStyle for both title and body | title: `color: Colors.white , fontSize: 50.0`<br> body: `color: Colors.white , fontSize: 24.0` |
| pageColor | Color | Set color of the page. | Null |
101
+
| mainImage | Image | Set the main image of the page. | Null |
102
+
| title | Text | Set the title text of the page. | Null |
103
+
| body | Text | Set the body text of the page. | Null |
104
+
| iconImageAssetPath | String | Set the icon image asset path that would be displayed in page bubble. | Null |
105
+
| iconColor | Color | Set the page bubble icon color. | Null |
106
+
| bubbleBackgroundColor | Color | Set the page bubble background color. | Colors.white |
107
+
| textStyle | TextStyle | Set TextStyle for both title and body | title: `color: Colors.white , fontSize: 50.0`<br> body: `color: Colors.white , fontSize: 24.0` |
0 commit comments