RenderPool class

A pool of resident render guests over one bundle directory.

Each guest is a flutter_tester process running the app's registrar; requests take a free guest (queueing when all are busy), and a guest that dies fails only its own in-flight request — the next request respawns one.

Properties

hashCode → int
The hash code for this object.
no setterinherited
manifest → RenderBundleManifest
final
points → List<RenderPointInfo>
The render points the guest announced, from the first guest's ready event.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pdf<A>(DocumentRender<A> point, A args, {RenderOptions options = const RenderOptions()}) → Future<PdfResult>
A document entry: the guest composes the whole PDF itself.
pdfPage<A>(WidgetRender<A> point, A args, {required RenderSize size, RenderOptions options = const RenderOptions()}) → Future<PdfResult>
The same widget entry as a single-page PDF.
png<A>(WidgetRender<A> point, A args, {required RenderSize size, double pixelRatio = 3}) → Future<PngResult>
svg<A>(WidgetRender<A> point, A args, {required RenderSize size, RenderOptions options = const RenderOptions()}) → Future<SvgResult>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

start({required String bundle, int warm = 1, void onGuestLog(String line)?}) → Future<RenderPool>