buildList method
Implementation
@override
Widget buildList(BuildContext context) {
final alias = props["alias"] ?? id;
state["${alias}_sort"] = sortState;
if (!state.containsKey(alias)) {
state[alias] = <Map>[];
}
Widget widget = StatefulBuilder(
builder: (context, setState) => buildDataTable(context, setState));
if (parseBool(props["shrinkWrap"])) {
return widget;
} else {
return SingleChildScrollView(
controller: controller,
child: widget,
);
}
}