preloadStory property

bool preloadStory
final

Sets whether story preload is enabled.

When set to true, three story and some of it's content (depends on preloadContent) are loaded into memory at a time.

When set to false, only loads one story and some of its contents into memory at a time.

If you are seeing memory issues or lags, you can set this to false. If your content is mostly video, consider checking the media sizes as well. Large videos can cause problems, in which case you might want to set this to false.

Implementation

final bool preloadStory;