FloatyNavyBar class

Inheritance

Constructors

FloatyNavyBar({Key? key, required List<NavyBarItem> items, required ValueChanged<int> onChanged, required double barHeight, required bool opacityAnimation, bool? offstage, Color? iconColor, double? iconSize, TextStyle? textStyle, Color? backgroundColor, Color indicatorColor = Colors.black, double indicatorHeight = 5.0, double indicatorWidth = 8.0, double itemWidth = 70})

Properties

backgroundColor Color?
  • Background Color or floating navigation bar
  • final
    barHeight double
  • TO CHANGE THE HEIGHT OF NAVIGATION BAR
  • PREFERRED HEIGHT IS BETWEEN 70-100
  • final
    hashCode int
    The hash code for this object.
    no setterinherited
    iconColor Color?
  • For changing nav items icon color
  • final
    iconSize double?
  • FOR CHANGING NAV ITEMS ICON SIZE
  • final
    indicatorColor Color
  • FOR CHANGING INDICATOR COLOR
  • ... HEIGHT
  • ... WIDTH
  • final
    indicatorHeight double
    final
    indicatorWidth double
    final
    items List<NavyBarItem>
  • LIST OF TABS TO DISPLAY
  • final
    itemWidth double
  • FOR CHANGING WIDTH OF THE ITEM
  • final
    key Key?
    Controls how one widget replaces another widget in the tree.
    finalinherited
    offstage bool?
  • FOR OFFSTAGING THE FLOATY NAVY BAR
  • final
    onChanged ValueChanged<int>
    final
    opacityAnimation bool
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    textStyle TextStyle?
  • ALLOWS USER'S TEXT STYLING INPUT
  • final

    Methods

    build(BuildContext context) Widget
    Describes the part of the user interface represented by this widget.
    override
    calculateBarWidth() double
  • FUNCTION TO DYNAMICALLY CALCULATE TOTAL WIDTH OF THE NAVBAR
  • 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
    onPressed(int index) → void
  • FOR CHANGING NAVIGATION BAR INDEX
  • 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

    Static Properties

    notifyIndex ValueNotifier<int>
    ! THIS WILL IDENTITFY WHICH TAB IS CURRENTLY ACTIVE ! USING THIS TO SHOW AND HIDE TAB INDICATOR
    getter/setter pair