157 lines
		
	
	
	
		
			6.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			157 lines
		
	
	
	
		
			6.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="en">
 | |
| <head>
 | |
|   <meta charset="utf-8">
 | |
|   <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | |
|   <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
 | |
|   <meta name="description" content="API docs for the shouldReload method from the AppLocalizationDelegate class, for the Dart programming language.">
 | |
|   <title>shouldReload method - AppLocalizationDelegate class - l10n library - Dart API</title>
 | |
| 
 | |
| 
 | |
|   
 | |
|   <link rel="preconnect" href="https://fonts.gstatic.com">
 | |
|   <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
 | |
|   <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
 | |
|   
 | |
|   <link rel="stylesheet" href="../../static-assets/github.css?v1">
 | |
|   <link rel="stylesheet" href="../../static-assets/styles.css?v1">
 | |
|   <link rel="icon" href="../../static-assets/favicon.png?v1">
 | |
| 
 | |
|   
 | |
| </head>
 | |
| 
 | |
| 
 | |
| <body data-base-href="../../" data-using-base-href="false">
 | |
| 
 | |
| <div id="overlay-under-drawer"></div>
 | |
| 
 | |
| <header id="title">
 | |
|   <button id="sidenav-left-toggle" type="button"> </button>
 | |
|   <ol class="breadcrumbs gt-separated dark hidden-xs">
 | |
|     <li><a href="../../index.html">mc_gallery</a></li>
 | |
|     <li><a href="../../l10n_generated_l10n/l10n_generated_l10n-library.html">l10n</a></li>
 | |
|     <li><a href="../../l10n_generated_l10n/AppLocalizationDelegate-class.html">AppLocalizationDelegate</a></li>
 | |
|     <li class="self-crumb">shouldReload method</li>
 | |
|   </ol>
 | |
|   <div class="self-name">shouldReload</div>
 | |
|   <form class="search navbar-right" role="search">
 | |
|     <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
 | |
|   </form>
 | |
| </header>
 | |
| 
 | |
| <main>
 | |
| 
 | |
| 
 | |
|   <div id="dartdoc-main-content" class="main-content">
 | |
|       <div>
 | |
| <h1><span class="kind-method">shouldReload</span> method 
 | |
|     <a href="https://dart.dev/null-safety" class="feature feature-null-safety" title="Supports the null safety language feature.">Null safety</a>
 | |
| </h1></div>
 | |
| 
 | |
|     <section class="multi-line-signature">
 | |
|       
 | |
| <div>
 | |
|   <ol class="annotation-list">
 | |
|     <li>@<a href="https://api.flutter.dev/flutter/dart-core/override-constant.html">override</a></li>
 | |
|   </ol>
 | |
| </div>
 | |
| 
 | |
| <span class="returntype"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
 | |
| <span class="name ">shouldReload</span>(<wbr><ol class="parameter-list"><li><span class="parameter" id="shouldReload-param-old"><span>covariant</span> <span class="type-annotation"><a href="../../l10n_generated_l10n/AppLocalizationDelegate-class.html">AppLocalizationDelegate</a></span> <span class="parameter-name">old</span></span></li>
 | |
| </ol>)
 | |
| 
 | |
|       <div class="features">override</div>
 | |
| 
 | |
|     </section>
 | |
|     
 | |
| <section class="desc markdown">
 | |
|   <p>Returns true if the resources for this delegate should be loaded
 | |
| again by calling the <a href="../../l10n_generated_l10n/AppLocalizationDelegate/load.html">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="../../l10n_generated_l10n/AppLocalizationDelegate/load.html">load</a> has completed.</p>
 | |
| </section>
 | |
| 
 | |
| 
 | |
|     
 | |
| <section class="summary source-code" id="source">
 | |
|   <h2><span>Implementation</span></h2>
 | |
|   <pre class="language-dart"><code class="language-dart">@override
 | |
| bool shouldReload(AppLocalizationDelegate old) => false;</code></pre>
 | |
| </section>
 | |
| 
 | |
| 
 | |
|   </div> <!-- /.main-content -->
 | |
| 
 | |
|   <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
 | |
|     <header id="header-search-sidebar" class="hidden-l">
 | |
|   <form class="search-sidebar" role="search">
 | |
|     <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
 | |
|   </form>
 | |
| </header>
 | |
| 
 | |
| <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
 | |
|   <li><a href="../../index.html">mc_gallery</a></li>
 | |
|   <li><a href="../../l10n_generated_l10n/l10n_generated_l10n-library.html">l10n</a></li>
 | |
|   <li><a href="../../l10n_generated_l10n/AppLocalizationDelegate-class.html">AppLocalizationDelegate</a></li>
 | |
|   <li class="self-crumb">shouldReload method</li>
 | |
| </ol>
 | |
| 
 | |
| 
 | |
|     <h5>AppLocalizationDelegate class</h5>
 | |
|     <ol>
 | |
| 
 | |
|         <li class="section-title"><a href="../../l10n_generated_l10n/AppLocalizationDelegate-class.html#constructors">Constructors</a></li>
 | |
|           <li><a href="../../l10n_generated_l10n/AppLocalizationDelegate/AppLocalizationDelegate.html">AppLocalizationDelegate</a></li>
 | |
| 
 | |
| 
 | |
|     <li class="section-title">
 | |
|       <a href="../../l10n_generated_l10n/AppLocalizationDelegate-class.html#instance-properties">Properties</a>
 | |
|     </li>
 | |
|     <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></li>
 | |
|     <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>
 | |
|     <li><a href="../../l10n_generated_l10n/AppLocalizationDelegate/supportedLocales.html">supportedLocales</a></li>
 | |
|     <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/LocalizationsDelegate/type.html">type</a></li>
 | |
| 
 | |
|     <li class="section-title"><a href="../../l10n_generated_l10n/AppLocalizationDelegate-class.html#instance-methods">Methods</a></li>
 | |
|     <li><a href="../../l10n_generated_l10n/AppLocalizationDelegate/isSupported.html">isSupported</a></li>
 | |
|     <li><a href="../../l10n_generated_l10n/AppLocalizationDelegate/load.html">load</a></li>
 | |
|     <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
 | |
|     <li><a href="../../l10n_generated_l10n/AppLocalizationDelegate/shouldReload.html">shouldReload</a></li>
 | |
|     <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/LocalizationsDelegate/toString.html">toString</a></li>
 | |
| 
 | |
|     <li class="section-title inherited"><a href="../../l10n_generated_l10n/AppLocalizationDelegate-class.html#operators">Operators</a></li>
 | |
|     <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></li>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| </ol>
 | |
| 
 | |
|   </div><!--/.sidebar-offcanvas-->
 | |
| 
 | |
|   <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
 | |
|   </div><!--/.sidebar-offcanvas-->
 | |
| 
 | |
| </main>
 | |
| 
 | |
| <footer>
 | |
|   <span class="no-break">
 | |
|     mc_gallery
 | |
|       1.0.0+1
 | |
|   </span>
 | |
| 
 | |
|   
 | |
| </footer>
 | |
| 
 | |
| 
 | |
| 
 | |
| <script src="../../static-assets/highlight.pack.js?v1"></script>
 | |
| <script src="../../static-assets/docs.dart.js"></script>
 | |
| 
 | |
| 
 | |
| 
 | |
| </body>
 | |
| 
 | |
| </html>
 | |
| 
 |