enable lint prefer_equal_for_default_values (#18156)
This commit is contained in:
committed by
GitHub
parent
6be81ebf9b
commit
09276bea25
@@ -352,10 +352,10 @@ class AndroidDevice extends Device {
|
||||
String route,
|
||||
DebuggingOptions debuggingOptions,
|
||||
Map<String, dynamic> platformArgs,
|
||||
bool prebuiltApplication: false,
|
||||
bool applicationNeedsRebuild: false,
|
||||
bool usesTerminalUi: true,
|
||||
bool ipv6: false,
|
||||
bool prebuiltApplication = false,
|
||||
bool applicationNeedsRebuild = false,
|
||||
bool usesTerminalUi = true,
|
||||
bool ipv6 = false,
|
||||
}) async {
|
||||
if (!await _checkForSupportedAdbVersion() || !await _checkForSupportedAndroidVersion())
|
||||
return new LaunchResult.failed();
|
||||
|
||||
@@ -12,7 +12,7 @@ import 'gradle.dart';
|
||||
|
||||
Future<Null> buildApk({
|
||||
String target,
|
||||
BuildInfo buildInfo: BuildInfo.debug
|
||||
BuildInfo buildInfo = BuildInfo.debug
|
||||
}) async {
|
||||
if (!isProjectUsingGradle()) {
|
||||
throwToolExit(
|
||||
|
||||
@@ -141,7 +141,7 @@ void handleKnownGradleExceptions(String exceptionString) {
|
||||
}
|
||||
}
|
||||
|
||||
String _locateProjectGradlew({ bool ensureExecutable: true }) {
|
||||
String _locateProjectGradlew({ bool ensureExecutable = true }) {
|
||||
final String path = fs.path.join(
|
||||
'android',
|
||||
platform.isWindows ? 'gradlew.bat' : 'gradlew',
|
||||
|
||||
Reference in New Issue
Block a user