diff --git a/example/main.dart b/example/main.dart index b3349d1..b0f782b 100644 --- a/example/main.dart +++ b/example/main.dart @@ -77,6 +77,7 @@ class _FontConfig { {required this.family, required this.url, this.testString = _successMessage, + // ignore: unused_element_parameter this.expectLoad = true}); } diff --git a/example/unload.dart b/example/unload.dart index b2e1e04..a97815e 100644 --- a/example/unload.dart +++ b/example/unload.dart @@ -91,6 +91,7 @@ class _FontConfig { {required this.family, required this.url, this.group = FontFaceObserver.defaultGroup, + // ignore: unused_element_parameter this.key = ''}); } diff --git a/pubspec.yaml b/pubspec.yaml index 56401c2..1f69bd0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,7 +8,7 @@ environment: dev_dependencies: build_runner: ^2.0.0 - build_test: ^2.0.0 + build_test: '>=2.0.0 <4.0.0' build_web_compilers: '>=3.0.0 <5.0.0' test: ^1.16.8 workiva_analysis_options: ^1.0.1