FlutterDriverReporter class

The Flutter driver helpfully logs ALL messages to the stderr output useless something is listening to the messages. This reporter listens to the messages from the driver so nothing is logged to the stderr stream unless it is actually an error. This can cause problems with CI servers for example as they will mark a process as failed if it logs to the stderr stream. So Flutter driver will log a normal info message to the stderr and thus make the process fail from the perspective of a CI server.

Constructors

FlutterDriverReporter({bool logErrorMessages = true, bool logWarningMessages = true, bool logInfoMessages = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
logErrorMessages bool
final
logInfoMessages bool
final
logWarningMessages bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
inherited
message(String message, MessageLevel level) Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onException(Object exception, StackTrace stackTrace) Future<void>
inherited
onFeatureFinished(FinishedMessage message) Future<void>
inherited
onFeatureStarted(StartedMessage message) Future<void>
inherited
onScenarioFinished(ScenarioFinishedMessage message) Future<void>
inherited
onScenarioStarted(StartedMessage message) Future<void>
inherited
onStepFinished(StepFinishedMessage message) Future<void>
inherited
onStepStarted(StepStartedMessage message) Future<void>
inherited
onTestRunFinished() Future<void>
inherited
onTestRunStarted() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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