TDNavBarItem class

Constructors

TDNavBarItem({IconData? icon, Color? iconColor, TDBarItemAction? action, double? iconSize = 24.0, EdgeInsetsGeometry? padding, Widget? iconWidget})

Properties

action TDBarItemAction?
操作回调
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon IconData?
图标
getter/setter pair
iconColor Color?
图标颜色
getter/setter pair
iconSize double?
图标尺寸
getter/setter pair
iconWidget Widget?
图标组件,优先级高与icon
getter/setter pair
padding EdgeInsetsGeometry?
内部填充
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toWidget(BuildContext context, {bool isLeft = true}) Widget

Operators

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