pumpDeviceAndMatch method
Future<void>
pumpDeviceAndMatch({
- required String groupTitle,
- required DeviceBuilder builder,
- Future gestureBuilder()?,
- bool? autoHeight = true,
- Iterable<
LocalizationsDelegate> ? localizationsDelegates, - Iterable<
Locale> ? supportedLocales, - WildnessProperties? config,
- TextStyle? defaultTextStyle,
- Color? primaryColor,
Implementation
Future<void> pumpDeviceAndMatch({
required String groupTitle,
required DeviceBuilder builder,
Future Function()? gestureBuilder,
bool? autoHeight = true,
Iterable<LocalizationsDelegate<dynamic>>? localizationsDelegates,
Iterable<Locale>? supportedLocales,
WildnessProperties? config,
TextStyle? defaultTextStyle,
Color? primaryColor,
}) async {
await pumpDeviceBuilder(
builder,
wrapper: wildnessWidgetWrapper(
config: config,
defaultTextStyle: defaultTextStyle,
localizationsDelegates: localizationsDelegates,
supportedLocales: supportedLocales,
primaryColor: primaryColor,
),
);
await pumpAndSettle();
await gestureBuilder?.call();
await screenMatchesGolden(
this,
screenMatchesName(groupTitle),
autoHeight: autoHeight,
);
}