CustomTableSection class

TableSection 表格分组组件

Inheritance

Constructors

CustomTableSection({required Widget child, Key? key, Color? color, Color? shadowColor, Color? surfaceTintColor, double? elevation, ShapeBorder? shape, bool borderOnForeground = true, Clip? clipBehavior, EdgeInsetsGeometry? margin = const EdgeInsets.all(0), bool semanticContainer = true, EdgeInsetsGeometry? padding, Widget? title, String? titleText, Widget? action, String? actionText})
TableSection 表格分组组件
const

Properties

action → Widget?
操作组件
final
actionText → String?
操作文本
final
borderOnForeground → bool
边框在前景
final
child → Widget
子组件
final
clipBehavior → Clip?
裁剪方式
final
color → Color?
背景色
final
elevation → double?
海拔高度
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
margin → EdgeInsetsGeometry?
外边距
final
padding → EdgeInsetsGeometry?
内边距
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semanticContainer → bool
语义容器
final
shadowColor → Color?
阴影色
final
shape → ShapeBorder?
形状
final
surfaceTintColor → Color?
表面色
final
title → Widget?
标题组件
final
titleText → String?
标题文本
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