CommonWidget class

通用的部件

Constructors

CommonWidget()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getChildren(List<SelectorItem> list, double textSize, Color textColor) List<Widget>
列表Item
getChildrenChoice(List<SelectorItem> list, double textSize, double padding, Color textColor, Color lineColor, Color selectColor, Color unSelectedColor, double iconWidth, {String iconAssetName = '', dynamic callBack(SelectorItem selectorItem, int position)?}) List<Widget>
列表Item
getSelectionOverlayWidget(double left, double right, Color color) Widget
自定义中间选中的覆盖样式
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