Unverified Commit 243805ee authored by Abhishek Ghaskata's avatar Abhishek Ghaskata Committed by GitHub

migrate mega_gallery to null safety (#84061)

parent 5cc7b6c3
......@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
/// Make `n` copies of flutter_gallery.
import 'dart:io';
......@@ -164,7 +162,7 @@ class SourceStats {
String toString() => '${_comma(files).padLeft(3)} files, ${_comma(lines).padLeft(6)} lines';
}
SourceStats getStatsFor(Directory dir, [SourceStats stats]) {
SourceStats getStatsFor(Directory dir, [SourceStats? stats]) {
stats ??= SourceStats();
for (final FileSystemEntity entity in dir.listSync(recursive: false, followLinks: false)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment