AttemptRuntimeScope constructor
AttemptRuntimeScope({
- required EnsembleTestContext context,
- required WidgetTester tester,
- String formatFlutterError(
- FlutterErrorDetails details
- VoidCallback captureDebugPrint()?,
Implementation
AttemptRuntimeScope({
required this.context,
required this.tester,
this.formatFlutterError = _defaultFlutterError,
VoidCallback Function()? captureDebugPrint,
}) : _captureDebugPrint =
captureDebugPrint ?? context.runtime.captureDebugPrint;