GFIntroScreen class

Inheritance

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, bool showPagination = 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 setterinherited
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.
finalinherited
defines GFIntroScreenBottomNavigationBar color
final
defines GFIntroScreenBottomNavigationBar height
final
defines GFIntroScreenBottomNavigationBar margin
final
defines GFIntroScreenBottomNavigationBar padding
final
defines the shape of GFIntroScreenBottomNavigationBar
final
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 setterinherited
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
showPagination bool
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

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _GFIntroScreenState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited