CustomListTileChip class

ListTileChip 列表项 Chip 组件

Inheritance

Constructors

CustomListTileChip({Widget? label, Key? key, Widget? avatar, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, Widget? deleteIcon, VoidCallback? onDeleted, Color? deleteIconColor, String? deleteButtonTooltipMessage, BorderSide? side, OutlinedBorder? shape, Clip clipBehavior = Clip.none, FocusNode? focusNode, bool autofocus = false, Color? backgroundColor, EdgeInsetsGeometry? padding, VisualDensity? visualDensity, MaterialTapTargetSize? materialTapTargetSize, double? elevation, Color? shadowColor, Color? surfaceTintColor, IconThemeData? iconTheme, BoxConstraints? avatarBoxConstraints, BoxConstraints? deleteIconBoxConstraints, String? labelText})
ListTileChip 列表项 Chip 组件
const

Properties

autofocus bool
是否自动获取焦点
final
avatar Widget?
头像组件
final
avatarBoxConstraints BoxConstraints?
头像约束
final
backgroundColor Color?
背景颜色
final
clipBehavior Clip
裁剪行为
final
deleteButtonTooltipMessage String?
删除按钮提示文本
final
deleteIcon Widget?
删除图标组件
final
deleteIconBoxConstraints BoxConstraints?
删除图标约束
final
deleteIconColor Color?
删除图标颜色
final
elevation double?
阴影高度
final
focusNode FocusNode?
焦点节点
final
hashCode int
The hash code for this object.
no setterinherited
iconTheme IconThemeData?
图标主题
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label Widget?
标签组件
final
labelPadding EdgeInsetsGeometry?
标签内边距
final
labelStyle TextStyle?
标签文本样式
final
labelText String?
标签文本
final
materialTapTargetSize MaterialTapTargetSize?
点击目标大小
final
onDeleted VoidCallback?
删除回调函数
final
padding EdgeInsetsGeometry?
内边距
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
阴影颜色
final
shape OutlinedBorder?
形状
final
side BorderSide?
边框样式
final
surfaceTintColor Color?
表面色调
final
visualDensity VisualDensity?
视觉密度
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
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
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, int wrapWidth = 65}) 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