enable lint prefer_single_quotes (#12665)

This commit is contained in:
Alexandre Ardhuin
2017-10-22 18:11:36 +02:00
committed by GitHub
parent b07ea41954
commit 1fce14a31c
90 changed files with 664 additions and 663 deletions

View File

@@ -35,7 +35,7 @@ class MyHomePage extends StatefulWidget {
class _MyHomePageState extends State<MyHomePage> {
static const MethodChannel _methodChannel =
const MethodChannel("samples.flutter.io/platform_view");
const MethodChannel('samples.flutter.io/platform_view');
int _counter = 0;
@@ -47,7 +47,7 @@ class _MyHomePageState extends State<MyHomePage> {
Future<Null> _launchPlatformCount() async {
final int platformCounter =
await _methodChannel.invokeMethod("switchView", _counter);
await _methodChannel.invokeMethod('switchView', _counter);
setState(() {
_counter = platformCounter;
});