Improve sync*/async* opt outs (#95286)
This commit is contained in:
@@ -795,7 +795,8 @@ class RenderTable extends RenderBox {
|
||||
/// column, in row order, starting from the first row.
|
||||
///
|
||||
/// This is a lazily-evaluated iterable.
|
||||
// flutter_ignore: no_sync_async_star
|
||||
// The following uses sync* because it is public API documented to return a
|
||||
// lazy iterable.
|
||||
Iterable<RenderBox> column(int x) sync* {
|
||||
for (int y = 0; y < rows; y += 1) {
|
||||
final int xy = x + y * columns;
|
||||
@@ -809,7 +810,8 @@ class RenderTable extends RenderBox {
|
||||
/// row, in column order, starting with the first column.
|
||||
///
|
||||
/// This is a lazily-evaluated iterable.
|
||||
// flutter_ignore: no_sync_async_star
|
||||
// The following uses sync* because it is public API documented to return a
|
||||
// lazy iterable.
|
||||
Iterable<RenderBox> row(int y) sync* {
|
||||
final int start = y * columns;
|
||||
final int end = (y + 1) * columns;
|
||||
|
||||
Reference in New Issue
Block a user