ScrollableTable<T> class

Inheritance

Constructors

ScrollableTable({Key? key, Widget scrollViewWrapper(Widget child)?, Widget tableWrapper(Widget child)?, EdgeInsets? cellPadding, Widget? columnAppBar, Widget? columnBackground, EdgeInsets? columnCellPadding, double columnHeight = 48, Map<int, double>? columnWidths, required List<Widget> columns, EdgeInsets? contentPadding, required double defaultColumnWidth, Widget? footer, double? footerOffsetToHide, Widget? header, double? headerOffsetToHide, ScrollController? horizontalController, double initialMinScale = 1 / 2, double? initialScale, bool initialScaleFitToWidth = false, ValueNotifier<bool>? isLoading, required List<Widget> itemBuilder(int index), int? itemCount, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual, Widget? loadingIndicator, double? paddingTopOnHeaderHide, ScrollPhysics? physics, double rowHeight = 48, ValueListenable<List<T>>? rowsListenable, bool showStrokesIntoColumns = true, Color? strokeColor, double? strokeWidth, Widget? isEmptyBackground, EdgeInsets? tablePadding, ScrollController? verticalController})
const

Properties

cellPadding EdgeInsets?
final
columnAppBar Widget?
final
columnBackground Widget?
final
columnCellPadding EdgeInsets?
final
columnHeight double
final
columns List<Widget>
final
columnWidths Map<int, double>?
final
contentPadding EdgeInsets?
final
defaultColumnWidth double
final
final
footerOffsetToHide double?
final
hashCode int
The hash code for this object.
no setterinherited
final
headerOffsetToHide double?
final
horizontalController ScrollController?
final
initialMinScale double
final
initialScale double?
final
initialScaleFitToWidth bool
final
isEmptyBackground Widget?
final
isLoading ValueNotifier<bool>?
final
itemBuilder List<Widget> Function(int index)
final
itemCount int?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardDismissBehavior ScrollViewKeyboardDismissBehavior
final
loadingIndicator Widget?
final
paddingTopOnHeaderHide double?
final
physics ScrollPhysics?
final
rowHeight double
final
rowsListenable ValueListenable<List<T>>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollViewWrapper → (Widget Function(Widget child)?)
final
showStrokesIntoColumns bool
final
strokeColor Color?
final
strokeWidth double?
final
tablePadding EdgeInsets?
final
tableWrapper → (Widget Function(Widget child)?)
final
verticalController ScrollController?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ScrollableTable<T>>
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
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}) 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