re-enable lint unnecessary_const (#19592)

* re-enable lint unnecessary_const

* remove trailling whitespaces

* remove unnecessary const (after merge)
This commit is contained in:
Alexandre Ardhuin
2018-07-23 08:31:48 +02:00
committed by GitHub
parent 1cb2677234
commit 27018359d2
560 changed files with 40983 additions and 40982 deletions

View File

@@ -13,7 +13,7 @@ import 'package:stocks/stock_data.dart' as stock_data;
import '../common.dart';
const Duration kBenchmarkTime = const Duration(seconds: 15);
const Duration kBenchmarkTime = Duration(seconds: 15);
class BenchmarkingBinding extends LiveTestWidgetsFlutterBinding {
BenchmarkingBinding(this.stopwatch);

View File

@@ -13,7 +13,7 @@ import 'package:stocks/stock_data.dart' as stock_data;
import '../common.dart';
const Duration kBenchmarkTime = const Duration(seconds: 15);
const Duration kBenchmarkTime = Duration(seconds: 15);
Future<Null> main() async {
assert(false); // don't run this in checked mode! Use --release.

View File

@@ -13,7 +13,7 @@ import 'package:stocks/stock_data.dart' as stock_data;
import '../common.dart';
const Duration kBenchmarkTime = const Duration(seconds: 15);
const Duration kBenchmarkTime = Duration(seconds: 15);
Future<Null> main() async {
stock_data.StockData.actuallyFetchData = false;