defaultTestTimeout property Null safety

Timeout defaultTestTimeout

The default maximum test timeout for tests when using this binding.

This controls the default for the timeout argument on testWidgets. It is 10 minutes for AutomatedTestWidgetsFlutterBinding (tests running using flutter test), and unlimited for tests using LiveTestWidgetsFlutterBinding (tests running using flutter run).

This is the maximum that the timeout controlled by initialTimeout on testWidgets can reach when augmented using addTime.


test_package.Timeout get defaultTestTimeout => test_package.Timeout.none;