fetchOnInit property

bool fetchOnInit
final

Whether to fetch data immediately when the controller is created (default: false). When true and searchOnEmpty is also true, the initial data will be fetched as soon as the controller is initialized, without waiting for user interaction. This is useful for pre-loading data before the overlay is shown.

Implementation

final bool fetchOnInit;