Revert "Enable avoid_print lint. (#91332)" (#91438)

This reverts commit cb378edc9e.
This commit is contained in:
Mouad Debbar
2021-10-07 16:16:17 -04:00
committed by GitHub
parent d68f95676c
commit c2ea78d231
85 changed files with 246 additions and 359 deletions

View File

@@ -98,7 +98,7 @@ Future<void> main() async {
final HttpServer httpServer =
await HttpServer.bindSecure('localhost', 0, serverContext);
final int port = httpServer.port;
debugPrint('Listening on port $port.');
print('Listening on port $port.');
// Initializes bindings before using any platform channels.
WidgetsFlutterBinding.ensureInitialized();
@@ -193,7 +193,7 @@ class _MyHomePageState extends State<MyHomePage> with TickerProviderStateMixin {
).toList();
final DateTime started = DateTime.now();
Future.wait(futures).then((_) {
debugPrint(
print(
'===image_list=== all loaded in ${DateTime.now().difference(started).inMilliseconds}ms.',
);
});