Skip to main content

shouldReload method

bool shouldReload (covariant AppLocalizationsDelegate old)

<span class="feature">override</span>

<p>Returns true if the resources for this delegate should be loaded again by calling the <a href="../../utils_app_localization/AppLocalizationsDelegate/load.md">load</a> method.</p> <p>This method is called whenever its <a href="https:api.flutter.dev/flutter/widgets/Localizations-class.html">Localizations</a> widget is rebuilt. If it returns true then dependent widgets will be rebuilt after <a href="../../utils_app_localization/AppLocalizationsDelegate/load.md">load</a> has completed.</p>

Implementation

@override
bool shouldReload(AppLocalizationsDelegate old) =\> false;