update for flutter 3.7.0 (#158)

Signed-off-by: Hidenori Matsubayashi <[email protected]>
This commit is contained in:
Hidenori Matsubayashi
2023-01-25 23:39:11 +09:00
committed by GitHub
parent 19a1b05ea2
commit 51a1d68590
14 changed files with 85 additions and 43 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2021 Sony Group Corporation. All rights reserved.
// Copyright 2023 Sony Group Corporation. All rights reserved.
// Copyright 2020 Samsung Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,6 +12,7 @@ import 'package:flutter_tools/src/cache.dart';
import 'package:flutter_tools/src/features.dart';
import 'package:flutter_tools/src/flutter_cache.dart';
import 'package:flutter_tools/src/globals.dart' as globals;
import 'package:flutter_tools/src/project.dart';
import 'package:flutter_tools/src/runner/flutter_command.dart';
mixin ELinuxRequiredArtifacts on FlutterCommand {
@@ -46,11 +47,13 @@ class ELinuxFlutterCache extends FlutterCache {
required FileSystem fileSystem,
required Platform platform,
required OperatingSystemUtils osUtils,
required FlutterProjectFactory projectFactory,
}) : super(
logger: logger,
fileSystem: fileSystem,
platform: platform,
osUtils: osUtils) {
osUtils: osUtils,
projectFactory: projectFactory) {
registerArtifact(ELinuxEngineArtifacts(this, platform: platform));
}
}