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
@@ -74,14 +76,18 @@ You should then run `flutter packages get` in your terminal so as to get the pac
74
76
//Void Callback
75
77
},
76
78
showSkipButton: true,
77
-
pageButtonFontFamily: "Regular",
78
-
pageButtonsColor: Colors.white,
79
-
pageButtonTextSize: 18.0,
79
+
pageButtonTextStyles: new TextStyle(
80
+
color: Colors.white,
81
+
fontSize: 18.0,
82
+
fontFamily: "Regular",
83
+
),
80
84
);
81
85
```
82
86
For further usage refer the [`example`](https://github.com/aagarwal1012/IntroViews-Flutter/tree/master/example/lib) available.
83
87
84
-
***Note :*** If you added more than four pages in the list then there can be overlapping between `page icons` and `skip button`, so my suggestion is just make the `showSkipButton: false`.
88
+
For `Landscape` preview click the [link](https://github.com/aagarwal1012/IntroViews-Flutter/blob/master/display/landscape2.png?raw=true).
89
+
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`.
85
91
86
92
# Documentation
87
93
@@ -90,31 +96,27 @@ You should then run `flutter packages get` in your terminal so as to get the pac
| pageColor | Color | Set color of the page. | Null |
93
-
| mainImageAssetPath | String | Set the main image asset path of the page. | Null |
94
-
| title | String | Set the title text of the page. | Null |
95
-
| body | String | Set the body text 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 |
96
102
| iconImageAssetPath | String | Set the icon image asset path that would be displayed in page bubble. | Null |
97
-
| titleTextColor | Color | Set the title text color. | Colors.white |
98
-
| bodyTextColor | Color | Set the body text color. | Colors.white |
99
103
| iconColor | Color | Set the page bubble icon color. | Null |
100
104
| bubbleBackgroundColor | Color | Set the page bubble background color. | Colors.white |
101
-
| fontFamily | String | Use your own custom font to style the title and body. | Default |
102
-
| pageTitleBold | Bool | Set the title font weight to bold. | False |
103
-
| titleTextSize | Double | Set the size of title text. | 34.0 |
104
-
| bodyTextSize | Double | Set the size of body text. | 18.0 |
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` |
0 commit comments