Enable no_leading_underscores_for_local_identifiers (#96422)

This commit is contained in:
Michael Goderbauer
2022-01-21 14:43:59 -08:00
committed by GitHub
parent 53ca7f684a
commit 5684b9f69e
89 changed files with 948 additions and 949 deletions

View File

@@ -30,8 +30,8 @@ class MyStatelessWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
const int _rowCount = 48;
const int _columnCount = 6;
const int rowCount = 48;
const int columnCount = 6;
return InteractiveViewer(
alignPanAxis: true,
@@ -39,14 +39,14 @@ class MyStatelessWidget extends StatelessWidget {
scaleEnabled: false,
child: Table(
columnWidths: <int, TableColumnWidth>{
for (int column = 0; column < _columnCount; column += 1)
for (int column = 0; column < columnCount; column += 1)
column: const FixedColumnWidth(200.0),
},
children: <TableRow>[
for (int row = 0; row < _rowCount; row += 1)
for (int row = 0; row < rowCount; row += 1)
TableRow(
children: <Widget>[
for (int column = 0; column < _columnCount; column += 1)
for (int column = 0; column < columnCount; column += 1)
Container(
height: 26,
color: row % 2 + column % 2 == 1