Sync analysis_options.yaml & cleanups (#117327)
This commit is contained in:
committed by
GitHub
parent
81bc54be75
commit
fdd2d7d64a
@@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
library component1;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
String? unused;
|
||||
String? unused; // ignore: unreachable_from_main
|
||||
|
||||
void main() {
|
||||
runApp(const MyApp());
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// ignore_for_file: enable_null_safety
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
import 'null_enabled_api.dart';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
// @dart = 2.12
|
||||
|
||||
String? x;
|
||||
String? x; // ignore: unreachable_from_main
|
||||
|
||||
void main() {
|
||||
print('--- TEST SUCCEEDED ---');
|
||||
|
||||
Reference in New Issue
Block a user