TableViewExtend<T> class

Inheritance
Available extensions

Constructors

TableViewExtend({List<T>? tableDatas = const [], BoxDecoration? bodyDecoration, BoxDecoration? headerDecoration, bool enableDivider = false, bool gridDivider = false, PreDealData<T>? preDealData, bool shrinkWrap = true, Color dividerColor = Colors.black, double dividerSize = 1, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController? controller, ScrollPhysics? physics, EdgeInsetsGeometry? padding, bool addAutomaticKeepAlive = true, bool addRepaintBoundaries = true, bool addSemanticIndexes = true, double? cacheExtent, bool enableFixHeaderColumn = false, bool enableFixFootColumn = false, ScrollBehavior? behavior, HandlerControllerCallBack? handlerControllerCallBack, required BuildRowStyle buildRowStyle, BuildTableHeaderStyle? buildTableHeaderStyle, BuildRowStyle? fixHeaderRowStyle, BuildTableHeaderStyle? buildFixHeaderTableHeaderStyle, BuildRowStyle? fixFootRowStyle, BuildTableHeaderStyle? buildFixFootTableHeaderStyle, double minCellWidth = 50, List<double>? cellWidthFlex, List<double>? fixCellHeaderWidthFlex, List<double>? fixCellFootWidthFlex, Key? key})
const

Properties

addAutomaticKeepAlive → bool
final
addRepaintBoundaries → bool
final
addSemanticIndexes → bool
final
behavior → ScrollBehavior?
final
bodyDecoration → BoxDecoration?
final
buildFixFootTableHeaderStyle → BuildTableHeaderStyle?
final
buildFixHeaderTableHeaderStyle → BuildTableHeaderStyle?
final
buildRowStyle → BuildRowStyle
构建每一行的回调 内容
final
buildTableHeaderStyle → BuildTableHeaderStyle?
final
cacheExtent → double?
final
cellWidthFlex → List<double>?
final
controller → ScrollController?
final
dividerColor → Color
纵向分割线 横向分割线在 TabRow配置
final
dividerSize → double
final
enableDivider → bool
final
enableFixFootColumn → bool
final
enableFixHeaderColumn → bool
是否开启 固定头和脚的列 -->水平方向
final
fixCellFootWidthFlex → List<double>?
final
fixCellHeaderWidthFlex → List<double>?
final
fixFootRowStyle → BuildRowStyle?
构建表格固定尾 水平方向
final
fixHeaderRowStyle → BuildRowStyle?
构建表格固定头 水平方向
final
gridDivider → bool
final
handlerControllerCallBack → HandlerControllerCallBack?
final
hashCode → int
The hash code for this object.
no setterinherited
headerDecoration → BoxDecoration?
表格体的样式
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
minCellWidth → double
需要双向滑动说明列表不满足一屏显示,此时需要设置最小宽度作为基准, 其余宽度按照此基准扩大倍数。
final
padding → EdgeInsetsGeometry?
final
physics → ScrollPhysics?
final
preDealData → PreDealData<T>?
添加此回调 会覆盖 tableDatas 数据
final
reverse → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection → Axis
final
shrinkWrap → bool
final
tableDatas → List<T>?
数据 表示表格有多少行
final

Methods

blurred({double blur = 5, Color blurColor = Colors.white, BorderRadius? borderRadius, double colorOpacity = 0.5, Widget? overlay, AlignmentGeometry alignment = Alignment.center}) → Blur

Available on Widget, provided by the BlurExtension extension

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<TableViewExtend>
Creates the mutable state for this widget at a given location in the tree.
override
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
frosted({double blur = 5, Color frostColor = Colors.white, AlignmentGeometry alignment = Alignment.center, double? height, double? width, double frostOpacity = 0.0, BorderRadius? borderRadius, EdgeInsetsGeometry padding = EdgeInsets.zero}) → Blur

Available on Widget, provided by the FrostExtension extension

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