flutter_test_ui library
Functions
-
setUpUI(
WidgetTesterCallback cb) → void - Registers a function to be run before tests.
-
tearDownUI(
WidgetTesterCallback cb) → void - Registers a function to be run after tests.
-
testUI(
String description, WidgetTesterCallback callback, {bool skip = false, Timeout? timeout, Duration? initialTimeout, bool semanticsEnabled = true, TestVariant< Object?> variant = const DefaultTestVariant()}) → void -
Runs the
callback
inside the Flutter test environment.