Remove ignores that are not ignoring anything (#78669)
This commit is contained in:
parent
6b22834699
commit
cec6491838
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
// ignore: unused_import
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/widgets.dart';
|
import 'package:flutter/widgets.dart';
|
||||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||||
@ -67,7 +66,6 @@ import 'stock_strings_es.dart';
|
|||||||
abstract class StockStrings {
|
abstract class StockStrings {
|
||||||
StockStrings(String locale) : assert(locale != null), localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
StockStrings(String locale) : assert(locale != null), localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
||||||
|
|
||||||
// ignore: unused_field
|
|
||||||
final String localeName;
|
final String localeName;
|
||||||
|
|
||||||
static StockStrings of(BuildContext context) {
|
static StockStrings of(BuildContext context) {
|
||||||
|
@ -2,12 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// ignore: unused_import
|
|
||||||
import 'package:intl/intl.dart' as intl;
|
|
||||||
import 'stock_strings.dart';
|
import 'stock_strings.dart';
|
||||||
|
|
||||||
// ignore_for_file: unnecessary_brace_in_string_interps
|
|
||||||
|
|
||||||
/// The translations for English (`en`).
|
/// The translations for English (`en`).
|
||||||
class StockStringsEn extends StockStrings {
|
class StockStringsEn extends StockStrings {
|
||||||
StockStringsEn([String locale = 'en']) : super(locale);
|
StockStringsEn([String locale = 'en']) : super(locale);
|
||||||
|
@ -2,12 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
// ignore: unused_import
|
|
||||||
import 'package:intl/intl.dart' as intl;
|
|
||||||
import 'stock_strings.dart';
|
import 'stock_strings.dart';
|
||||||
|
|
||||||
// ignore_for_file: unnecessary_brace_in_string_interps
|
|
||||||
|
|
||||||
/// The translations for Spanish Castilian (`es`).
|
/// The translations for Spanish Castilian (`es`).
|
||||||
class StockStringsEs extends StockStrings {
|
class StockStringsEs extends StockStrings {
|
||||||
StockStringsEs([String locale = 'es']) : super(locale);
|
StockStringsEs([String locale = 'es']) : super(locale);
|
||||||
|
@ -11,7 +11,7 @@ import 'package:test_core/src/platform.dart' as hack show registerPlatformPlugin
|
|||||||
import 'package:test_core/src/platform.dart'; // ignore: implementation_imports
|
import 'package:test_core/src/platform.dart'; // ignore: implementation_imports
|
||||||
|
|
||||||
export 'package:test_api/backend.dart' show Runtime; // ignore: deprecated_member_use
|
export 'package:test_api/backend.dart' show Runtime; // ignore: deprecated_member_use
|
||||||
export 'package:test_core/src/platform.dart' show PlatformPlugin; // ignore: implementation_imports
|
export 'package:test_core/src/platform.dart' show PlatformPlugin;
|
||||||
|
|
||||||
abstract class TestWrapper {
|
abstract class TestWrapper {
|
||||||
const factory TestWrapper() = _DefaultTestWrapper;
|
const factory TestWrapper() = _DefaultTestWrapper;
|
||||||
|
@ -4,6 +4,4 @@
|
|||||||
|
|
||||||
import 'my_app.dart' if (dart.library.html) 'my_web_app.dart';
|
import 'my_app.dart' if (dart.library.html) 'my_web_app.dart';
|
||||||
|
|
||||||
// ignore_for_file: public_member_api_docs
|
|
||||||
|
|
||||||
void main() => startApp();
|
void main() => startApp();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user