enable lint prefer_equal_for_default_values (#18156)

This commit is contained in:
Alexandre Ardhuin
2018-06-05 08:50:40 +02:00
committed by GitHub
parent 6be81ebf9b
commit 09276bea25
390 changed files with 1920 additions and 1920 deletions

View File

@@ -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();

View File

@@ -12,7 +12,7 @@ import 'gradle.dart';
Future<Null> buildApk({
String target,
BuildInfo buildInfo: BuildInfo.debug
BuildInfo buildInfo = BuildInfo.debug
}) async {
if (!isProjectUsingGradle()) {
throwToolExit(

View File

@@ -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',