代码拉取完成,页面将自动刷新
<!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 debugResetSemanticsIdCounter function from the semantics library, for the Dart programming language.">
<title>debugResetSemanticsIdCounter function - semantics library - Dart API</title>
<!-- required because all the links are pseudo-absolute -->
<base href="..">
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="static-assets/github.css">
<link rel="stylesheet" href="static-assets/styles.css">
<link rel="icon" href="static-assets/favicon.png">
</head>
<body>
<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">flutter</a></li>
<li><a href="semantics/semantics-library.html">semantics</a></li>
<li class="self-crumb">debugResetSemanticsIdCounter function</li>
</ol>
<div class="self-name">debugResetSemanticsIdCounter</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-sidebar-left" class="col-xs-6 col-sm-3 col-md-2 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">flutter</a></li>
<li><a href="semantics/semantics-library.html">semantics</a></li>
<li class="self-crumb">debugResetSemanticsIdCounter function</li>
</ol>
<h5>semantics library</h5>
<ol>
<li class="section-title"><a href="semantics/semantics-library.html#classes">Classes</a></li>
<li><a href="dart-ui/AccessibilityFeatures-class.html">AccessibilityFeatures</a></li>
<li><a href="semantics/AnnounceSemanticsEvent-class.html">AnnounceSemanticsEvent</a></li>
<li><a href="semantics/CustomSemanticsAction-class.html">CustomSemanticsAction</a></li>
<li><a href="semantics/LongPressSemanticsEvent-class.html">LongPressSemanticsEvent</a></li>
<li><a href="semantics/OrdinalSortKey-class.html">OrdinalSortKey</a></li>
<li><a href="dart-ui/SemanticsAction-class.html">SemanticsAction</a></li>
<li><a href="semantics/SemanticsConfiguration-class.html">SemanticsConfiguration</a></li>
<li><a href="semantics/SemanticsData-class.html">SemanticsData</a></li>
<li><a href="semantics/SemanticsEvent-class.html">SemanticsEvent</a></li>
<li><a href="semantics/SemanticsHintOverrides-class.html">SemanticsHintOverrides</a></li>
<li><a href="semantics/SemanticsNode-class.html">SemanticsNode</a></li>
<li><a href="semantics/SemanticsOwner-class.html">SemanticsOwner</a></li>
<li><a href="semantics/SemanticsProperties-class.html">SemanticsProperties</a></li>
<li><a href="semantics/SemanticsService-class.html">SemanticsService</a></li>
<li><a href="semantics/SemanticsSortKey-class.html">SemanticsSortKey</a></li>
<li><a href="semantics/SemanticsTag-class.html">SemanticsTag</a></li>
<li><a href="semantics/TapSemanticEvent-class.html">TapSemanticEvent</a></li>
<li><a href="semantics/TooltipSemanticsEvent-class.html">TooltipSemanticsEvent</a></li>
<li><a href="semantics/UpdateLiveRegionEvent-class.html">UpdateLiveRegionEvent</a></li>
<li class="section-title"><a href="semantics/semantics-library.html#mixins">Mixins</a></li>
<li><a href="semantics/SemanticsBinding-mixin.html">SemanticsBinding</a></li>
<li class="section-title"><a href="semantics/semantics-library.html#properties">Properties</a></li>
<li><a href="semantics/debugSemanticsDisableAnimations.html">debugSemanticsDisableAnimations</a></li>
<li class="section-title"><a href="semantics/semantics-library.html#functions">Functions</a></li>
<li><a href="semantics/debugResetSemanticsIdCounter.html">debugResetSemanticsIdCounter</a></li>
<li class="section-title"><a href="semantics/semantics-library.html#enums">Enums</a></li>
<li><a href="semantics/DebugSemanticsDumpOrder-class.html">DebugSemanticsDumpOrder</a></li>
<li class="section-title"><a href="semantics/semantics-library.html#typedefs">Typedefs</a></li>
<li><a href="semantics/MoveCursorHandler.html">MoveCursorHandler</a></li>
<li><a href="semantics/SemanticsNodeVisitor.html">SemanticsNodeVisitor</a></li>
<li><a href="semantics/SetSelectionHandler.html">SetSelectionHandler</a></li>
</ol>
</div><!--/.sidebar-offcanvas-left-->
<div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
<div><h1><span class="kind-function">debugResetSemanticsIdCounter</span> function </h1></div>
<section class="multi-line-signature">
<span class="returntype">void</span>
<span class="name ">debugResetSemanticsIdCounter</span>
(<wbr>)
</section>
<section class="desc markdown">
<p>In tests use this function to reset the counter used to generate
<a href="semantics/SemanticsNode/id.html">SemanticsNode.id</a>.</p>
</section>
<section class="summary source-code" id="source">
<h2><span>Implementation</span></h2>
<pre class="language-dart"><code class="language-dart">void debugResetSemanticsIdCounter() {
SemanticsNode._lastIdentifier = 0;
}</code></pre>
</section>
</div> <!-- /.main-content -->
<div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
</div><!--/.sidebar-offcanvas-->
</main>
<footer>
<span class="no-break">
flutter 0.0.0-unknown
</span>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。