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

@@ -27,7 +27,7 @@ class _PlatformChannelState extends State<PlatformChannel> {
final int result = await methodChannel.invokeMethod('getBatteryLevel');
batteryLevel = 'Battery level: $result%.';
} on PlatformException {
batteryLevel = "Failed to get battery level.";
batteryLevel = 'Failed to get battery level.';
}
setState(() {
_batteryLevel = batteryLevel;
@@ -49,7 +49,7 @@ class _PlatformChannelState extends State<PlatformChannel> {
void _onError(PlatformException error) {
setState(() {
_chargingStatus = "Battery status: unknown.";
_chargingStatus = 'Battery status: unknown.';
});
}