getRow method

TableRow getRow(
  1. BuildContext context,
  2. AppModel app,
  3. String label,
  4. String description,
  5. VoidCallback action,
)

Implementation

TableRow getRow(BuildContext context, AppModel app, String label,
    String description, VoidCallback action) {
  return TableRow(children: [
    button(
      app,
      context,
      label: label,
      onPressed: action,
    ),
    TableCell(
        verticalAlignment: TableCellVerticalAlignment.middle,
        child: text(app, context, description, textAlign: TextAlign.center)),
  ]);
}