StxBottomNavBarItem class

An item widget for the StxTabView.

Constructors

StxBottomNavBarItem({required Widget icon, Widget? inactiveIcon, String? title, double contentPadding = 5.0, Color activeColor = Colors.blue, Color? inactiveColor = Colors.grey, double opacity = 1.0, ImageFilter? filter, TextStyle? textStyle, double iconSize = 26.0})

Properties

activeColor Color
Color for the current selected item in the navigation bar. If activeColorSecondary property is empty, this will act in its place (recommended). cupertino activeBlue by default.
final
contentPadding double
Padding of the navigation bar item. Applies on all sides. 5.0 by default.
final
filter ImageFilter?
Filter used when opacity < 1.0. Can be used to create 'frosted glass' effect.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
Icon for the bar item.
final
iconSize double
final
inactiveColor Color?
Color for the unselected item(s) in the navigation bar.
final
inactiveIcon Widget?
In-Active icon for the bar item.
final
opacity double
Enables and controls the transparency effect of the entire NavBar when this tab is selected.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
TextStyle of the title's text.
final
title String?
Title for the bar item. Might not appear is some styles.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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