flutter_test_config library

Classes

CustomFileComparator
Comparator for the golden file.

Properties

getBackgroundColor Color Function(ThemeData)
Background color for the golden file.
latefinal
localesForTesting List<Locale>
List of locales used for testing.
latefinal
localizationsForTesting List<LocalizationsDelegate>
List of localizations used for testing.
latefinal
themesForTesting List<TestingTheme>
List of themes used for testing.
latefinal
widgetWrapper WidgetWrapperBuilder
Wrapper for the widget test.
latefinal

Functions

testExecutable({required FutureOr<void> testMain(), required List<TestingTheme> themes, required WidgetWrapperBuilder wrapper, required Color backgroundColor(ThemeData), required List<TestDevice> devicesForTest, List<LocalizationsDelegate> localizations = const [], List<Locale> locales = const [Locale('en')], double tolerance = 0.18, LocalFileComparator? customComparator}) Future<void>
Entry point for the widget test.