GFIntroScreenBottomNavigationBar class

Inheritance

Constructors

GFIntroScreenBottomNavigationBar({Key? key, required PageController pageController, required int currentIndex, required int pageCount, 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.DANGER, 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})
const

Properties

activeColor Color
defines pagination active color
final
backButton Widget?
defines the backButton widget
final
backButtonText String
defines the backButton text
final
backButtonTextStyle TextStyle
defines the backButton textStyle
final
child Widget?
defines GFIntroScreenBottomNavigationBar, it takes any widget
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?
defines the doneButton widget
final
doneButtonText String
defines the 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?
defines the forwardButton widget
final
forwardButtonText String
defines the forwardButton text
final
forwardButtonTextStyle TextStyle
defines the forwardButton textStyle
final
hashCode int
The hash code for this object.
no setterinherited
inactiveColor Color
defines pagination inactive color
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 backButtonText is tapped
final
onDoneTap VoidCallback?
Called when the doneButtonText is tapped
final
onForwardButtonTap VoidCallback?
Called when the forwardButtonText is tapped
final
onSkipTap VoidCallback?
Called when the skipButtonText is tapped
final
pageController PageController
default controller for the GFIntroScreen component
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
showPagination bool
on true state, displays pagination, defaults to true
final
skipButton Widget?
defines the skipButton widget
final
skipButtonText String
defines the skipButton text
final
skipButtonTextStyle TextStyle
defines the skipButton textStyle
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _GFIntroScreenBottomNavigationBarState
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}) 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