preloadContent property

bool preloadContent
final

Sets whether content preload is enabled or not.

When set to true, loads three content into memory at a time. When set to false, only loads one content into memory at a time.

Setting this to false significantly reduces performance.

Default value is true. Most of the time you don't need to disable this. You might want to set this to false only if your content is mostly video and you don't have control over video sizes.

Implementation

final bool preloadContent;