Rasterizer<T extends RenderBox> class
abstract
Configuration for a render object type that Fullstory should capture as a raster image.
This is an escape hatch for widgets that draw directly to the canvas in
ways Fullstory can't otherwise capture, such as third-party charts. Pass
a set of these to runFullstoryApp's rasterizers parameter.
Only use this for leaf render objects whose paint() draws straight to the canvas. Anything that pushes layers or paints children is not safe to rasterize this way.
Constructors
- Rasterizer()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hash(
T instance) → int -
A hash of the contents of
instancethat changes whenever it needs to be re-rasterized, such as when a chart's data, viewport, or text scale changes. If this throws, a warning is logged and the widget is re-rasterized on every scan instead of being cached.override -
matches(
RenderBox box) → bool -
Whether
boxshould be rasterized by this rasterizer. -
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