XDataTable class
Constructors
-
XDataTable({Key? key, bool showSelect = false, dynamic onSelectAll(bool? value)?, dynamic onSelect(bool? value, Map<String, dynamic> data)?, dynamic onTabRow(Map<String, dynamic> value)?, dynamic onSort(dynamic value)?, List<Map<String, dynamic>>? source, List<Map<String, dynamic>>? selecteds, Widget? title, List<Widget>? actions, String? sortColumn, bool? sortAscending, bool isLoading = false, bool autoHeight = true, bool hideUnderline = true, bool commonMobileView = false, bool isExpandRows = true, List<bool>? expanded, Widget dropContainer(Map<String, dynamic> value)?, dynamic onChangedRow(Map<String, dynamic> value, )?, dynamic onSubmittedRow(Map<String, dynamic> value, )?, List<ScreenSize> reponseScreenSizes = const [ScreenSize.xs, ScreenSize.sm, ScreenSize.md], BoxDecoration? rowDecoration, BoxDecoration? selectedDecoration, TextStyle? rowTextStyle, TextStyle? selectedTextStyle, Duration timeToSubtract = const Duration(seconds: 0)})
-
const
Properties
-
actions
→ List<Widget>?
-
final
-
autoHeight
→ bool
-
final
-
commonMobileView
→ bool
-
final
-
dropContainer
→ Widget Function(Map<String, dynamic> value)?
-
final
-
expanded
→ List<bool>?
-
final
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
headerDecoration
final
-
final
-
selectedTextStyle
final
-
hideUnderline
→ bool
-
final
-
isExpandRows
→ bool
-
final
-
isLoading
→ bool
-
final
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onChangedRow
→ dynamic Function(Map<String, dynamic> value, )?
-
final
-
onSelect
→ dynamic Function(bool? value, Map<String, dynamic> data)?
-
final
-
onSelectAll
→ dynamic Function(bool? value)?
-
final
-
onSort
→ dynamic Function(dynamic value)?
-
final
-
onSubmittedRow
→ dynamic Function(Map<String, dynamic> value, )?
-
final
-
onTabRow
→ dynamic Function(Map<String, dynamic> value)?
-
final
-
reponseScreenSizes
→ List<ScreenSize>
-
reponseScreenSizes
final
-
rowDecoration
→ BoxDecoration?
-
rowDecoration
final
-
rowTextStyle
→ TextStyle?
-
selectedTextStyle
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedDecoration
→ BoxDecoration?
-
selectedDecoration
final
-
selecteds
→ List<Map<String, dynamic>>?
-
final
-
selectedTextStyle
→ TextStyle?
-
selectedTextStyle
final
-
showSelect
→ bool
-
final
-
sortAscending
→ bool?
-
final
-
sortColumn
→ String?
-
final
-
source
→ List<Map<String, dynamic>>?
-
final
-
timeToSubtract
→ Duration
-
timeToSubtract
final
-
title
→ Widget?
-
final