From dacb73582e916fd94328dcf732aa63009527affd Mon Sep 17 00:00:00 2001 From: Kate Lovett Date: Tue, 10 Oct 2023 13:56:16 -0500 Subject: [PATCH] Fix trailing commas --- .../test/table_view/table_test.dart | 72 +++++++++++-------- 1 file changed, 42 insertions(+), 30 deletions(-) diff --git a/packages/two_dimensional_scrollables/test/table_view/table_test.dart b/packages/two_dimensional_scrollables/test/table_view/table_test.dart index 5efca2321fcb..75cdfb0b9e3d 100644 --- a/packages/two_dimensional_scrollables/test/table_view/table_test.dart +++ b/packages/two_dimensional_scrollables/test/table_view/table_test.dart @@ -957,11 +957,13 @@ void main() { columnBuilder: (int index) => TableSpan( extent: const FixedTableSpanExtent(200.0), foregroundDecoration: const TableSpanDecoration( - border: TableSpanBorder( - trailing: BorderSide( - color: Colors.orange, - width: 3, - ))), + border: TableSpanBorder( + trailing: BorderSide( + color: Colors.orange, + width: 3, + ), + ), + ), backgroundDecoration: TableSpanDecoration( color: index.isEven ? Colors.red : null, ), @@ -969,11 +971,13 @@ void main() { rowBuilder: (int index) => TableSpan( extent: const FixedTableSpanExtent(200.0), foregroundDecoration: const TableSpanDecoration( - border: TableSpanBorder( - leading: BorderSide( - color: Colors.green, - width: 3, - ))), + border: TableSpanBorder( + leading: BorderSide( + color: Colors.green, + width: 3, + ), + ), + ), backgroundDecoration: TableSpanDecoration( color: index.isOdd ? Colors.blue : null, ), @@ -1002,11 +1006,13 @@ void main() { columnBuilder: (int index) => TableSpan( extent: const FixedTableSpanExtent(200.0), foregroundDecoration: const TableSpanDecoration( - border: TableSpanBorder( - trailing: BorderSide( - color: Colors.orange, - width: 3, - ))), + border: TableSpanBorder( + trailing: BorderSide( + color: Colors.orange, + width: 3, + ), + ), + ), backgroundDecoration: TableSpanDecoration( color: index.isEven ? Colors.red : null, ), @@ -1014,11 +1020,13 @@ void main() { rowBuilder: (int index) => TableSpan( extent: const FixedTableSpanExtent(200.0), foregroundDecoration: const TableSpanDecoration( - border: TableSpanBorder( - leading: BorderSide( - color: Colors.green, - width: 3, - ))), + border: TableSpanBorder( + leading: BorderSide( + color: Colors.green, + width: 3, + ), + ), + ), backgroundDecoration: TableSpanDecoration( color: index.isOdd ? Colors.blue : null, ), @@ -1055,11 +1063,13 @@ void main() { columnBuilder: (int index) => TableSpan( extent: const FixedTableSpanExtent(200.0), foregroundDecoration: const TableSpanDecoration( - border: TableSpanBorder( - trailing: BorderSide( - color: Colors.orange, - width: 3, - ))), + border: TableSpanBorder( + trailing: BorderSide( + color: Colors.orange, + width: 3, + ), + ), + ), backgroundDecoration: TableSpanDecoration( color: index.isEven ? Colors.red : null, ), @@ -1067,11 +1077,13 @@ void main() { rowBuilder: (int index) => TableSpan( extent: const FixedTableSpanExtent(200.0), foregroundDecoration: const TableSpanDecoration( - border: TableSpanBorder( - leading: BorderSide( - color: Colors.green, - width: 3, - ))), + border: TableSpanBorder( + leading: BorderSide( + color: Colors.green, + width: 3, + ), + ), + ), backgroundDecoration: TableSpanDecoration( color: index.isOdd ? Colors.blue : null, ),