EditableTable class

Inheritance

Constructors

EditableTable({Key? key, Map<String, dynamic>? data, TableEntity? entity, EdgeInsetsGeometry? tablePadding, Border? captionBorder, EdgeInsetsGeometry? captionPadding, TextStyle? captionTextStyle, TextStyle? captionHintTextStyle, EdgeInsetsGeometry? captionInputDecorationContentPadding, InputBorder? captionTextFieldBorder, InputBorder? captionTextFieldFocusBorder, Border? headerBorder, TextStyle? headerTextStyle, EdgeInsetsGeometry? headerContentPadding, Color? headerBackgroundColor, Border? rowBorder, EdgeInsetsGeometry? cellContentPadding, TextStyle? cellTextStyle, TextStyle? cellHintTextStyle, EdgeInsetsGeometry? cellInputDecorationContentPadding, InputBorder? cellInputDecorationBorder, InputBorder? cellInputDecorationFocusBorder, Widget? removeRowIcon, EdgeInsetsGeometry? removeRowIconPadding, Alignment? removeRowIconAlignment, Color? removeRowIconContainerBackgroundColor, bool showAddRow = true, Widget? addRowIcon, EdgeInsetsGeometry? addRowIconPadding, Alignment? addRowIconAlignment, Color? addRowIconContainerBackgroundColor, Border? footerBorder, EdgeInsetsGeometry? footerPadding, TextStyle? footerTextStyle, TextStyle? footerHintTextStyle, EdgeInsetsGeometry? footerInputDecorationContentPadding, InputBorder? footerInputDecorationBorder, InputBorder? footerInputDecorationFocusBorder, AutovalidateMode? formFieldAutoValidateMode, bool readOnly = false, ValueChanged<RowEntity>? onRowRemoved, VoidCallback? onRowAdded, TableFiledFilled? onFilling, TableFiledFilled? onSubmitted})
const

Properties

addRowIcon Widget?
final
addRowIconAlignment Alignment?
final
addRowIconContainerBackgroundColor Color?
final
addRowIconPadding EdgeInsetsGeometry?
final
captionBorder Border?
final
captionHintTextStyle TextStyle?
final
captionInputDecorationContentPadding EdgeInsetsGeometry?
final
captionPadding EdgeInsetsGeometry?
Caption Config
final
captionTextFieldBorder InputBorder?
final
captionTextFieldFocusBorder InputBorder?
final
captionTextStyle TextStyle?
final
cellContentPadding EdgeInsetsGeometry?
final
cellHintTextStyle TextStyle?
final
cellInputDecorationBorder InputBorder?
final
cellInputDecorationContentPadding EdgeInsetsGeometry?
final
cellInputDecorationFocusBorder InputBorder?
final
cellTextStyle TextStyle?
final
data Map<String, dynamic>?
Data Source
final
entity TableEntity?
final
footerBorder Border?
Footer Config
final
footerHintTextStyle TextStyle?
final
footerInputDecorationBorder InputBorder?
final
footerInputDecorationContentPadding EdgeInsetsGeometry?
final
footerInputDecorationFocusBorder InputBorder?
final
footerPadding EdgeInsetsGeometry?
final
footerTextStyle TextStyle?
final
formFieldAutoValidateMode AutovalidateMode?
final
hashCode int
The hash code for this object.
no setterinherited
headerBackgroundColor Color?
final
headerBorder Border?
Header Config
final
headerContentPadding EdgeInsetsGeometry?
final
headerTextStyle TextStyle?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onFilling TableFiledFilled?
final
onRowAdded VoidCallback?
final
onRowRemoved ValueChanged<RowEntity>?
Callback
final
onSubmitted TableFiledFilled?
final
readOnly bool
Main Control
final
removeRowIcon Widget?
final
removeRowIconAlignment Alignment?
final
removeRowIconContainerBackgroundColor Color?
final
removeRowIconPadding EdgeInsetsGeometry?
final
rowBorder Border?
Body Config
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAddRow bool
Operation Row Config
final
tablePadding EdgeInsetsGeometry?
Table Config
final

Methods

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