DebugOptions class

If recordFrame is true, the canvas of the AnimatedWidget remains white while writing each frame to the file outPutDir/fileName_frame.png.

This method is not deterministic in several ways: 1) The final resolution depends on the resolution of the device 2) The total amount of frames gathered can also be different. This feature is intended to be used for creating decent looking Gifs which also look good on larger screen resolutions like desktop computers. Do not use this in production.

Constructors

DebugOptions({bool showBoundingBox = false, bool showViewPort = false, bool recordFrames = false, double resolutionFactor = 1.0, String fileName = '', String outPutDir = ''})

Properties

fileName String
final
hashCode int
The hash code for this object.
no setterinherited
outPutDir String
final
recordFrames bool
final
resolutionFactor double
The final resultion is obtained by multiplying resolutionFactor with the resolution of the device.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBoundingBox bool
final
showViewPort bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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