Revert "Make flutter frontend server null safe" (flutter/engine#36417)

This commit is contained in:
Zachary Anderson
2022-09-26 10:07:21 -07:00
committed by GitHub
parent 0f3bd08d46
commit 5110627208
3 changed files with 6 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart=2.8
library frontend_server;
import 'dart:io';

View File

@@ -4,6 +4,7 @@
// ignore_for_file: avoid_print
// @dart=2.8
library flutter_frontend_server;
import 'dart:async';
@@ -25,9 +26,9 @@ import 'package:path/path.dart' as path;
/// version for testing.
Future<int> starter(
List<String> args, {
frontend.CompilerInterface? compiler,
Stream<List<int>>? input,
StringSink? output,
frontend.CompilerInterface compiler,
Stream<List<int>> input,
StringSink output,
}) async {
ArgResults options;
try {

View File

@@ -18,7 +18,7 @@ homepage: https://flutter.dev
# relative to this directory into //third_party/dart
environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.2.2 <3.0.0"
dependencies:
args: any