DynamicNavBarButton class

Inheritance

Constructors

DynamicNavBarButton({Key? key, required ValueChanged<int> onTap, required double position, required int length, required int index, required bool showForeGround, required IconData icon, required String title, required int currentIndex, required Color? selectedIconColor, required double? selectedIconSize, required double? selectedTextSize, required Color? selectedTextColor, required Color? unselectedIconColor, required double? unselectedIconSize, required double? unselectedTextSize, required Color? unselectedTextColor, required Widget? customSelectedItemDecor, required Widget? customUnSelectedItemDecor, required List<Map<String, dynamic>>? badgeData, required Color? badgeColor, required TextStyle? badgeTextStyle, required double? badgeCircleRadius, required double? badgeTopPosition, required double? badgeBottomPosition, required double? badgeLeftPosition, required double? badgeRightPosition})
const

Properties

badgeBottomPosition double?
final
badgeCircleRadius double?
final
badgeColor Color?
final
badgeData List<Map<String, dynamic>>?
final
badgeLeftPosition double?
final
badgeRightPosition double?
final
badgeTextStyle TextStyle?
final
badgeTopPosition double?
final
currentIndex int
final
customSelectedItemDecor Widget?
final
customUnSelectedItemDecor Widget?
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData
final
index int
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
length int
final
onTap ValueChanged<int>
final
position double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIconColor Color?
final
selectedIconSize double?
final
selectedTextColor Color?
final
selectedTextSize double?
final
showForeGround bool
final
title String
final
unselectedIconColor Color?
final
unselectedIconSize double?
final
unselectedTextColor Color?
final
unselectedTextSize double?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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