Add default values for optional parameters. (#27197)
This commit is contained in:
committed by
GitHub
parent
1811d57445
commit
4fe41abfcc
@@ -33,7 +33,7 @@ class BuildKernelCompiler implements KernelCompiler {
|
||||
List<String> fileSystemRoots,
|
||||
String fileSystemScheme,
|
||||
String depFilePath,
|
||||
TargetModel targetModel,
|
||||
TargetModel targetModel = TargetModel.flutter,
|
||||
}) async {
|
||||
if (fileSystemRoots != null || fileSystemScheme != null || depFilePath != null || targetModel != null || sdkRoot != null || packagesPath != null) {
|
||||
printTrace('fileSystemRoots, fileSystemScheme, depFilePath, targetModel,'
|
||||
|
||||
@@ -784,7 +784,7 @@ class NotifyingLogger extends Logger {
|
||||
String message, {
|
||||
@required Duration timeout,
|
||||
String progressId,
|
||||
bool multilineOutput,
|
||||
bool multilineOutput = false,
|
||||
int progressIndicatorPadding = kDefaultStatusPadding,
|
||||
}) {
|
||||
assert(timeout != null);
|
||||
@@ -961,8 +961,8 @@ class _AppRunLogger extends Logger {
|
||||
String message, {
|
||||
@required Duration timeout,
|
||||
String progressId,
|
||||
bool multilineOutput,
|
||||
int progressIndicatorPadding = 52,
|
||||
bool multilineOutput = false,
|
||||
int progressIndicatorPadding = kDefaultStatusPadding,
|
||||
}) {
|
||||
assert(timeout != null);
|
||||
final int id = _nextProgressId++;
|
||||
|
||||
@@ -185,7 +185,7 @@ class FuchsiaDevice extends Device {
|
||||
Map<String, dynamic> platformArgs,
|
||||
bool prebuiltApplication = false,
|
||||
bool applicationNeedsRebuild = false,
|
||||
bool usesTerminalUi = false,
|
||||
bool usesTerminalUi = true,
|
||||
bool ipv6 = false,
|
||||
}) => Future<void>.error('unimplemented');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user