BrnBottomTabBarItem class

简述:BrnBottomTabBar中的单个选择按钮组件 功能:为了每个Tab独立控制操作

Constructors

BrnBottomTabBarItem({Widget? title, required Widget icon, Widget? activeIcon, TextStyle? selectedTextStyle, TextStyle? unSelectedTextStyle, Color? backgroundColor, Widget? badge, String? badgeNo, int maxBadgeNo = 99})
const

Properties

activeIcon Widget
选中时的icon
final
backgroundColor Color?
背景色
final
badge Widget?
未读信息
final
badgeNo String?
未读信息个数
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget
未选中时的icon
final
maxBadgeNo int
未读消息最大个数
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTextStyle TextStyle?
tab 选中文本样式
final
title Widget?
Tab标题名
final
unSelectedTextStyle TextStyle?
tab 未选中文本样式
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