FLUTTER INTRO SLIDER
A plugin to help you make intro screens to show the major features of your app. You can change the image, button, text style, color, and more things. Create intro screens is never been more quick and easy than this.
Add to pubspec.yaml file
Import
Demo
|
Example
Default config
Custom config
Options
Slide object attributes
Name | Type | Default | Description |
---|---|---|---|
Title | |||
title | String |
"" | Change text title at top |
styleTitle | TextStyle |
White color, bold and font size is 30.0 | Style for text title |
marginTitle | EdgeInsets |
top: 70.0, bottom: 50.0 | Margin for text title |
Image | |||
pathImage | String |
"" | Path to your local image |
widthImage | double |
250.0 | Width of image |
heightImage | double |
250.0 | Height of image |
onImagePress | Function |
Do nothing | Fire when press image |
Description | |||
description | String |
"" | Change text description at bottom |
maxLineTextDescription | String |
100 | Maximum line of text description |
styleDescription | TextStyle |
White and font size is 18.0 | Style for text description |
marginDescription | EdgeInsets |
left, right = 20.0, top, bottom = 50.0 | Margin for text description |
Background | |||
backgroundColor | Color |
Color(0xfff5a623) | Background tab color |
colorBegin | Color |
null | Gradient tab color begin |
colorEnd | Color |
null | Gradient tab color end |
directionColorBegin | AlignmentGeometry |
null | Direction color begin |
directionColorEnd | AlignmentGeometry |
null | Direction color end |
IntroSlider widget attributes
Name | Type | Default | Description |
---|---|---|---|
Slide | |||
slides | Slide |
No default, required | An array of Slide object |
Skip Button | |||
renderSkipBtn | Widget |
Button with text SKIP | Render your own Skip button |
onSkipPress | Function |
Do nothing | Fire when press Skip button |
nameSkipBtn | String |
"SKIP" | Change SKIP to any text you want |
styleNameSkipBtn | TextStyle |
White color | Style for text at Skip button |
colorSkipBtn | Color |
transparent | Color for Skip button |
highlightColorSkipBtn | Color |
Color(0x4dffffff) | Color for Skip button when press |
isShowSkipBtn | bool |
true | Show or hide Skip button |
borderRadiusSkipBtn | double |
30.0 | Rounded Skip button |
Next Button | |||
renderNextBtn | Widget |
Button with text NEXT | Render your own Next button |
nameNextBtn | String |
"NEXT" | Change SKIP to any text you want |
borderRadiusNextBtn | double |
30.0 | Rounded Next button |
Done Button | |||
renderDoneBtn | Widget |
Button with text DONE | Render your own Done button |
onDonePress | Function |
Do nothing | Fire when press Skip button |
nameDoneBtn | String |
"DONE" | Style for text at Skip button |
styleNameDoneBtn | TextStyle |
White color | Color for Skip button |
colorDoneBtn | Color |
transparent | Color for Skip button when press |
highlightColorDoneBtn | Color |
Color(0x4dffffff) | Show or hide Skip button |
borderRadiusDoneBtn | double |
30.0 | Rounded Done button |
Dot Indicator | |||
isShowDotIndicator | bool |
true | Show or hide dot indicator |
colorDot | Color |
Color(0x80000000) | Color for dot when passive |
colorActiveDot | Color |
Color(0xffffffff) | Color for dot when active |
sizeDot | double |
8.0 | Size of each dot |