isCacheable property

  1. @protected
bool get isCacheable

Whether renders of this image may be memoized by ImgCache.

Default is true. Subclasses whose bytes depend on shared mutable state (notably SignpostImg, whose "live" handles render from the active NavigationInstruction at call time) override to false so the cache is bypassed.

Implementation

@protected
bool get isCacheable => true;