golden_utils
library
Functions
-
screenTestGoldens(String title, {required Widget widget, Future<void> initScreen(WidgetTester)?, Future<void> afterPumpAction(WidgetTester)?, int? waitDurationForAnimationInMs, bool onlyDark = false, bool onlyLight = false, List<Device> additionalDevices = const [], List<Device>? overrideDevices, Iterable<LocalizationsDelegate>? localizations})
→ void
-
Full-screen golden test of a
widget on multiple Devices.
-
simpleTestGoldens(String title, {required Widget widget, required double height, ThemeData? lightTheme, ThemeData? darkTheme, double? width, Iterable<LocalizationsDelegate>? localizations})
→ void
-
Golden test of a single
widget on a fixed surface (width x height).
-
testGoldensWithTextScale(String title, {required Widget widget, required double height, ThemeData? lightTheme, ThemeData? darkTheme, double? width, Iterable<LocalizationsDelegate>? localizations})
→ void
-
Golden test of a single
widget rendered at several text scale factors.