docs: added project code documentation
This commit is contained in:
parent
07584a48a1
commit
0465851ec5
2866 changed files with 64165 additions and 0 deletions
|
|
@ -0,0 +1,164 @@
|
|||
<!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 initState method from the TransferScreenState class, for the Dart programming language.">
|
||||
<title>initState method - TransferScreenState class - transfer_screen 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/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" 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" class="light-theme">
|
||||
|
||||
<div id="overlay-under-drawer"></div>
|
||||
|
||||
<header id="title">
|
||||
<span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
|
||||
<ol class="breadcrumbs gt-separated dark hidden-xs">
|
||||
<li><a href="../../index.html">flutter_test_gui</a></li>
|
||||
<li><a href="../../pages_transfer_screen/pages_transfer_screen-library.html">pages/transfer_screen.dart</a></li>
|
||||
<li><a href="../../pages_transfer_screen/TransferScreenState-class.html">TransferScreenState</a></li>
|
||||
<li class="self-crumb">initState method</li>
|
||||
</ol>
|
||||
<div class="self-name">initState</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>
|
||||
<div class="toggle" id="theme-button" title="Toggle brightness">
|
||||
<label for="theme">
|
||||
<input type="checkbox" id="theme" value="light-theme">
|
||||
<span id="dark-theme-button" class="material-symbols-outlined">
|
||||
dark_mode
|
||||
</span>
|
||||
<span id="light-theme-button" class="material-symbols-outlined">
|
||||
light_mode
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
|
||||
<div
|
||||
id="dartdoc-main-content"
|
||||
class="main-content"
|
||||
data-above-sidebar="pages_transfer_screen/TransferScreenState-class-sidebar.html"
|
||||
data-below-sidebar="">
|
||||
<div>
|
||||
<h1><span class="kind-method">initState</span> method
|
||||
</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">void</span>
|
||||
<span class="name ">initState</span>(<wbr>)
|
||||
|
||||
<div class="features"><span class="feature">override</span></div>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="desc markdown">
|
||||
<p>Called when this object is inserted into the tree.</p>
|
||||
<p>The framework will call this method exactly once for each <a href="https://api.flutter.dev/flutter/widgets/State-class.html">State</a> object
|
||||
it creates.</p>
|
||||
<p>Override this method to perform initialization that depends on the
|
||||
location at which this object was inserted into the tree (i.e., <a href="https://api.flutter.dev/flutter/widgets/State/context.html">context</a>)
|
||||
or on the widget used to configure this object (i.e., <a href="https://api.flutter.dev/flutter/widgets/State/widget.html">widget</a>).</p>
|
||||
<p>If a <a href="https://api.flutter.dev/flutter/widgets/State-class.html">State</a>'s <a href="../../pages_transfer_screen/TransferScreenState/build.html">build</a> method depends on an object that can itself
|
||||
change state, for example a <a href="https://api.flutter.dev/flutter/foundation/ChangeNotifier-class.html">ChangeNotifier</a> or <a href="https://api.flutter.dev/flutter/dart-async/Stream-class.html">Stream</a>, or some
|
||||
other object to which one can subscribe to receive notifications, then
|
||||
be sure to subscribe and unsubscribe properly in <a href="../../pages_transfer_screen/TransferScreenState/initState.html">initState</a>,
|
||||
<a href="https://api.flutter.dev/flutter/widgets/State/didUpdateWidget.html">didUpdateWidget</a>, and <a href="https://api.flutter.dev/flutter/widgets/State/dispose.html">dispose</a>:</p>
|
||||
<ul>
|
||||
<li>In <a href="../../pages_transfer_screen/TransferScreenState/initState.html">initState</a>, subscribe to the object.</li>
|
||||
<li>In <a href="https://api.flutter.dev/flutter/widgets/State/didUpdateWidget.html">didUpdateWidget</a> unsubscribe from the old object and subscribe
|
||||
to the new one if the updated widget configuration requires
|
||||
replacing the object.</li>
|
||||
<li>In <a href="https://api.flutter.dev/flutter/widgets/State/dispose.html">dispose</a>, unsubscribe from the object.</li>
|
||||
</ul>
|
||||
<p>You should not use <a href="https://api.flutter.dev/flutter/widgets/BuildContext/dependOnInheritedWidgetOfExactType.html">BuildContext.dependOnInheritedWidgetOfExactType</a> from this
|
||||
method. However, <a href="https://api.flutter.dev/flutter/widgets/State/didChangeDependencies.html">didChangeDependencies</a> will be called immediately
|
||||
following this method, and <a href="https://api.flutter.dev/flutter/widgets/BuildContext/dependOnInheritedWidgetOfExactType.html">BuildContext.dependOnInheritedWidgetOfExactType</a> can
|
||||
be used there.</p>
|
||||
<p>Implementations of this method should start with a call to the inherited
|
||||
method, as in <code>super.initState()</code>.</p>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<section class="summary source-code" id="source">
|
||||
<h2><span>Implementation</span></h2>
|
||||
<pre class="language-dart"><code class="language-dart">@override
|
||||
void initState() {
|
||||
// Call the loadSettings function to load the settings.
|
||||
super.initState();
|
||||
loadSettings().then((_) => callStartReceiver(appOrigin));
|
||||
}</code></pre>
|
||||
</section>
|
||||
|
||||
|
||||
</div> <!-- /.main-content -->
|
||||
|
||||
<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
|
||||
<!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
|
||||
<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">flutter_test_gui</a></li>
|
||||
<li><a href="../../pages_transfer_screen/pages_transfer_screen-library.html">transfer_screen</a></li>
|
||||
<li><a href="../../pages_transfer_screen/TransferScreenState-class.html">TransferScreenState</a></li>
|
||||
<li class="self-crumb">initState method</li>
|
||||
</ol>
|
||||
|
||||
|
||||
<h5>TransferScreenState class</h5>
|
||||
<div id="dartdoc-sidebar-left-content"></div>
|
||||
</div><!--/.sidebar-offcanvas-->
|
||||
|
||||
<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
|
||||
</div><!--/.sidebar-offcanvas-->
|
||||
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<span class="no-break">
|
||||
flutter_test_gui
|
||||
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>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue