TestTools class

Constructors

TestTools.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

generateLongString(int length, {String repeatingString = 'a'}) String
loadStringFromFile(String filePath) Future<String>
runTestableComponent({required WidgetTester tester, Iterable<LocalizationsDelegate>? localizationsDelegates, Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')], Locale? locale, required Widget child}) Future<void>
runTestableWidgetScreen({required WidgetTester tester, Iterable<LocalizationsDelegate>? localizationsDelegates, Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')], Locale? locale, Widget? child}) Future<void>
scrollUntilVisible(FinderBase<Element> finder, WidgetTester tester, {required Finder rootScrollView}) Future