re-re-enable lint unnecessary_const (#20103)

This commit is contained in:
Alexandre Ardhuin
2018-08-02 12:02:32 +02:00
committed by GitHub
parent ffbaa97b50
commit eda03e2586
561 changed files with 41037 additions and 41036 deletions

View File

@@ -14,9 +14,9 @@ class PlatformChannel extends StatefulWidget {
class _PlatformChannelState extends State<PlatformChannel> {
static const MethodChannel methodChannel =
const MethodChannel('samples.flutter.io/battery');
MethodChannel('samples.flutter.io/battery');
static const EventChannel eventChannel =
const EventChannel('samples.flutter.io/charging');
EventChannel('samples.flutter.io/charging');
String _batteryLevel = 'Battery level: unknown.';
String _chargingStatus = 'Battery status: unknown.';