BottomNavigationBarCustom class

Inheritance

Constructors

BottomNavigationBarCustom({required int totalScreen, required List<String> titleBottomNavigation, required List<Widget> iconBottomNavigation, required List<Widget> screens, Widget? floatingActionButton, FloatingActionButtonAnimator? floatingActionButtonAnimator, FloatingActionButtonLocation? floatingActionButtonLocation, List<Widget> actions = const <Widget>[], List<Widget>? titleAppbar, Widget? drawer, Color? backgroundColor, Widget? imageLogoBuilder, IconThemeData? selectedItemTheme, IconThemeData? unSelectedItemTheme, TextStyle? selectedLabelStyle, TextStyle? unSelectedLabelStyle, double selectedFontSize = 14.0, Color selectedItemsColor = Colors.white, Color unselectedItemsColor = Colors.white70, bool showAppbar = false, bool showUnselectedLabels = false, bool showSelectedLabels = true})
const

Properties

actions List<Widget>
Actions
final
backgroundColor Color?
Background Color Bottom Navigation Bar
final
drawer Widget?
Include Your Drawer in BottomNavigationCustom
final
floatingActionButton Widget?
Floating Action Button Widget
final
floatingActionButtonAnimator FloatingActionButtonAnimator?
Floating Action Button Animator
final
floatingActionButtonLocation FloatingActionButtonLocation?
Floating Action Button Location
final
hashCode int
The hash code for this object.
no setterinherited
iconBottomNavigation List<Widget>
Icon BottomNavigation
final
imageLogoBuilder Widget?
Image For Home Screen
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screens List<Widget>
Count of screen must be same with count of Items in BottomNavigationBarCustom
final
selectedFontSize double
Selected Font Size
final
selectedItemsColor Color
Change Color Icon And Text if items is selected
final
selectedItemTheme IconThemeData?
Selected Item Style
final
selectedLabelStyle TextStyle?
Selected Label Style
final
showAppbar bool
Toggle Show Appbar , In some case you want have different style appbar on different screen
final
showSelectedLabels bool
Show Selected bottomNavBar Text
final
showUnselectedLabels bool
Hidden Unselected BottomNavBar Text
final
titleAppbar List<Widget>?
Title AppBar
final
titleBottomNavigation List<String>
Title BottomNavigation
final
totalScreen int
Jumlah Halaman , Icon , Tittle Icon Yang Akan Ditampilkan. Minimal 2 Maximal 5 !
final
unselectedItemsColor Color
Change Color Icon And Text if items is unselected
final
unSelectedItemTheme IconThemeData?
Unselected Item Style
final
unSelectedLabelStyle TextStyle?
Unselected Label Style
final

Methods

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