dataTable method

Widget dataTable({
  1. dynamic component,
  2. required dynamic parentWidth,
})

Implementation

Widget dataTable({var component, required parentWidth}) {
  return Container(
    height: 1000,
    child: Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        AltComponent().altComponentLabel(
            component: component,
            label: (component["security"] != null &&
                    component["security"]["fieldLabel"] != null &&
                    component["security"]["fieldLabel"] != "")
                ? component["security"]["fieldLabel"]
                : component["name"]),
        Expanded(child: SortablePage(component: component)),
      ],
    ),
  );
}