From 1a6ab255b65eaacf366fe68133c5cfef3c7b47d6 Mon Sep 17 00:00:00 2001 From: James Leahy Date: Wed, 20 Aug 2025 09:22:10 +0200 Subject: [PATCH] chore: Modernize Flutter Constraints --- lib/src/test_ui.dart | 2 -- pubspec.yaml | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/src/test_ui.dart b/lib/src/test_ui.dart index 582afe8..0326d59 100644 --- a/lib/src/test_ui.dart +++ b/lib/src/test_ui.dart @@ -60,7 +60,6 @@ void testUI( WidgetTesterCallback callback, { bool skip = false, Timeout? timeout, - Duration? initialTimeout, bool semanticsEnabled = true, TestVariant variant = const DefaultTestVariant(), }) { @@ -73,7 +72,6 @@ void testUI( }, skip: skip, timeout: timeout, - initialTimeout: initialTimeout, semanticsEnabled: semanticsEnabled, variant: variant, ); diff --git a/pubspec.yaml b/pubspec.yaml index 2fff176..1d42e86 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,11 +1,11 @@ name: flutter_test_ui description: Wrapper for flutter_test that adds a tester argument to setUp and tearDown functions -version: 2.0.0 +version: 2.1.0 homepage: https://github.com/spkersten/flutter_test_ui environment: - sdk: '>=2.12.0 <3.0.0' - flutter: ">=1.17.0" + sdk: ^3.5.0 + flutter: ^3.24.0 dependencies: flutter: