GFIntroScreen class
Constructors
GFIntroScreen ({Key ? key , required PageController pageController , required int currentIndex , required int pageCount , required List <Widget > slides , Color ? color , double ? width , double ? height , BorderRadius ? borderRadius , Border ? border , GFIntroScreenBottomNavigationBar ? introScreenBottomNavigationBar , bool showIntroScreenBottomNavigationBar = true , Widget ? child , Color navigationBarColor = GFColors.SUCCESS , double navigationBarHeight = 50 , ShapeBorder ? navigationBarShape , double ? navigationBarWidth , EdgeInsets navigationBarPadding = const EdgeInsets.all(8) , EdgeInsets navigationBarMargin = const EdgeInsets.all(8) , bool showDivider = true , Color dividerColor = Colors.white , double dividerHeight = 1 , double dividerThickness = 2 , ShapeBorder ? dotShape , Color inactiveColor = GFColors.LIGHT , Color activeColor = GFColors.PRIMARY , double dotHeight = 12 , double dotWidth = 12 , EdgeInsets dotMargin = const EdgeInsets.symmetric(horizontal: 2) , Widget ? backButton , Widget ? forwardButton , Widget ? doneButton , Widget ? skipButton , VoidCallback ? onDoneTap , VoidCallback ? onForwardButtonTap , VoidCallback ? onBackButtonTap , VoidCallback ? onSkipTap , String forwardButtonText = 'NEXT' , String backButtonText = 'BACK' , String doneButtonText = 'GO' , String skipButtonText = 'SKIP' , TextStyle skipButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16) , TextStyle doneButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16) , TextStyle backButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16) , TextStyle forwardButtonTextStyle = const TextStyle(color: Colors.black, fontSize: 16) , bool showButton = true , })
GF Intro Screen is virtual unique interactive Slider that helps users get started with an app.
It has many features that helps to build custom-made introduction screen sliders.
Presents informative screens to users with various possibilities in customization.
const
Properties
activeColor
→ Color
defines pagination active color
final
backButton
→ Widget ?
takes any Widget to define the backButton widget,
final
backButtonText
→ String
takes String to define backButton text
final
backButtonTextStyle
→ TextStyle
defines the backButton textStyle
final
border
→ Border ?
defines GFIntroScreen slides border
final
borderRadius
→ BorderRadius ?
defines GFIntroScreen border radius to defines slides shape
final
child
→ Widget ?
defines GFIntroScreenBottomNavigationBar 's child, it takes any widget
final
color
→ Color ?
defines background color of the GFIntroScreen slides
final
currentIndex
→ int
defines the currentIndex of GFIntroScreen slides, default value is 0
final
dividerColor
→ Color
defines divider color
final
dividerHeight
→ double
defines divider height
final
dividerThickness
→ double
defines divider thickness
final
doneButton
→ Widget ?
takes any Widget to define the doneButton widget
final
doneButtonText
→ String
takes String to define doneButton text
final
doneButtonTextStyle
→ TextStyle
defines the doneButton textStyle
final
dotHeight
→ double
defines pagination height
final
dotMargin
→ EdgeInsets
defines pagination in between space
final
dotShape
→ ShapeBorder ?
defines pagination shape
final
dotWidth
→ double
defines pagination width
final
forwardButton
→ Widget ?
takes any Widget to define the forwardButton widget
final
forwardButtonText
→ String
takes String to define forwardButton text
final
forwardButtonTextStyle
→ TextStyle
defines the forwardButton textStyle
final
hashCode
→ int
The hash code for this object.
no setter inherited
height
→ double ?
defines GFIntroScreen slides height
final
inactiveColor
→ Color
defines pagination inactive color
final
introScreenBottomNavigationBar
→ GFIntroScreenBottomNavigationBar ?
defines GFIntroScreen 's bottom navigation bar
final
key
→ Key ?
Controls how one widget replaces another widget in the tree.
final inherited
navigationBarColor
→ Color
defines GFIntroScreenBottomNavigationBar color
final
navigationBarHeight
→ double
defines GFIntroScreenBottomNavigationBar height
final
navigationBarMargin
→ EdgeInsets
defines GFIntroScreenBottomNavigationBar margin
final
navigationBarPadding
→ EdgeInsets
defines GFIntroScreenBottomNavigationBar padding
final
navigationBarShape
→ ShapeBorder ?
defines the shape of GFIntroScreenBottomNavigationBar
final
navigationBarWidth
→ double ?
defines GFIntroScreenBottomNavigationBar width
final
onBackButtonTap
→ VoidCallback ?
Called when the back button is tapped
final
onDoneTap
→ VoidCallback ?
Called when the done button is tapped
final
onForwardButtonTap
→ VoidCallback ?
Called when the forward button is tapped
final
onSkipTap
→ VoidCallback ?
Called when the skip button is tapped
final
pageController
→ PageController
allows one to control GFIntroScreen slides
final
pageCount
→ int
defines the length of GFIntroScreen slides, default value is 0
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
showButton
→ bool
on true state, displays buttons, defaults to true
final
showDivider
→ bool
on true state, displays Divider , defaults to true
final
showIntroScreenBottomNavigationBar
→ bool
on true state, displays GFIntroScreenBottomNavigationBar , defaults to false
final
on true state, displays pagination, defaults to true
final
skipButton
→ Widget ?
takes any Widget to define the skipButton widget
final
skipButtonText
→ String
takes String to define skipButton text
final
skipButtonTextStyle
→ TextStyle
defines the skipButton textStyle
final
slides
→ List <Widget >
defines the list of slides
final
width
→ double ?
defines GFIntroScreen slides width
final