re-re-enable lint unnecessary_const (#20103)
This commit is contained in:
committed by
GitHub
parent
ffbaa97b50
commit
eda03e2586
@@ -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.';
|
||||
|
||||
Reference in New Issue
Block a user