EditScreen-class.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  7. <meta name="description" content="API docs for the EditScreen class from the note library, for the Dart programming language.">
  8. <title>EditScreen class - note library - Dart API</title>
  9. <link rel="preconnect" href="https://fonts.gstatic.com">
  10. <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">
  11. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  12. <link rel="stylesheet" href="../static-assets/github.css">
  13. <link rel="stylesheet" href="../static-assets/styles.css">
  14. <link rel="icon" href="../static-assets/favicon.png">
  15. </head>
  16. <body data-base-href="../"
  17. data-using-base-href="false">
  18. <div id="overlay-under-drawer"></div>
  19. <header id="title">
  20. <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  21. <ol class="breadcrumbs gt-separated dark hidden-xs">
  22. <li><a href="../index.html">trpp</a></li>
  23. <li><a href="../screens_note/screens_note-library.html">note</a></li>
  24. <li class="self-crumb">EditScreen class</li>
  25. </ol>
  26. <div class="self-name">EditScreen</div>
  27. <form class="search navbar-right" role="search">
  28. <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  29. </form>
  30. </header>
  31. <main>
  32. <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
  33. <header id="header-search-sidebar" class="hidden-l">
  34. <form class="search-sidebar" role="search">
  35. <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  36. </form>
  37. </header>
  38. <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
  39. <li><a href="../index.html">trpp</a></li>
  40. <li><a href="../screens_note/screens_note-library.html">note</a></li>
  41. <li class="self-crumb">EditScreen class</li>
  42. </ol>
  43. <h5>note library</h5>
  44. <ol>
  45. <li class="section-title"><a href="../screens_note/screens_note-library.html#classes">Classes</a></li>
  46. <li><a href="../screens_note/AddNoteScreen-class.html">AddNoteScreen</a></li>
  47. <li><a href="../screens_note/AddNoteScreenState-class.html">AddNoteScreenState</a></li>
  48. <li><a href="../screens_note/CustomTextField-class.html">CustomTextField</a></li>
  49. <li><a href="../screens_note/EditScreen-class.html">EditScreen</a></li>
  50. <li><a href="../screens_note/MicrophoneButton-class.html">MicrophoneButton</a></li>
  51. <li><a href="../screens_note/ReadingTextField-class.html">ReadingTextField</a></li>
  52. <li><a href="../screens_note/ViewScreen-class.html">ViewScreen</a></li>
  53. <li class="section-title"><a href="../screens_note/screens_note-library.html#constants">Constants</a></li>
  54. <li><a href="../screens_note/NOTESCREEN_MODE_EDIT-constant.html">NOTESCREEN_MODE_EDIT</a></li>
  55. <li><a href="../screens_note/NOTESCREEN_MODE_VIEW-constant.html">NOTESCREEN_MODE_VIEW</a></li>
  56. </ol>
  57. </div>
  58. <div id="dartdoc-main-content" class="main-content">
  59. <div><h1><span class="kind-class">EditScreen</span> class </h1></div>
  60. <section>
  61. <dl class="dl-horizontal">
  62. <dt>Inheritance</dt>
  63. <dd><ul class="gt-separated dark clazz-relationships">
  64. <li><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></li>
  65. <li><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html">DiagnosticableTree</a></li>
  66. <li><a href="https://api.flutter.dev/flutter/widgets/Widget-class.html">Widget</a></li>
  67. <li><a href="https://api.flutter.dev/flutter/widgets/StatelessWidget-class.html">StatelessWidget</a></li>
  68. <li>EditScreen</li>
  69. </ul></dd>
  70. </dl>
  71. </section>
  72. <section class="summary offset-anchor" id="constructors">
  73. <h2>Constructors</h2>
  74. <dl class="constructor-summary-list">
  75. <dt id="EditScreen" class="callable">
  76. <span class="name"><a href="../screens_note/EditScreen/EditScreen.html">EditScreen</a></span><span class="signature">(<span class="parameter" id="-param-handleSave">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Function-class.html">Function</a></span> <span class="parameter-name">handleSave</span>, </span><span class="parameter" id="-param-widget"><span class="type-annotation"><a href="../screens_note/AddNoteScreenState-class.html">AddNoteScreenState</a></span> <span class="parameter-name">widget</span>}</span>)</span>
  77. </dt>
  78. <dd>
  79. </dd>
  80. </dl>
  81. </section>
  82. <section class="summary offset-anchor" id="instance-properties">
  83. <h2>Properties</h2>
  84. <dl class="properties">
  85. <dt id="handleSave" class="property">
  86. <span class="name"><a href="../screens_note/EditScreen/handleSave.html">handleSave</a></span>
  87. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Function-class.html">Function</a></span>
  88. </dt>
  89. <dd>
  90. <div class="features">final</div>
  91. </dd>
  92. <dt id="hashCode" class="property inherited">
  93. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">hashCode</a></span>
  94. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  95. </dt>
  96. <dd class="inherited">
  97. The hash code for this object. <a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">[...]</a>
  98. <div class="features">@<a href="https://pub.dev/documentation/meta/1.3.0-nullsafety.3/meta/nonVirtual-constant.html">nonVirtual</a>, read-only, inherited</div>
  99. </dd>
  100. <dt id="key" class="property inherited">
  101. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">key</a></span>
  102. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/foundation/Key-class.html">Key</a></span>
  103. </dt>
  104. <dd class="inherited">
  105. Controls how one widget replaces another widget in the tree. <a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">[...]</a>
  106. <div class="features">final, inherited</div>
  107. </dd>
  108. <dt id="runtimeType" class="property inherited">
  109. <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
  110. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>
  111. </dt>
  112. <dd class="inherited">
  113. A representation of the runtime type of the object.
  114. <div class="features">read-only, inherited</div>
  115. </dd>
  116. <dt id="widget" class="property">
  117. <span class="name"><a href="../screens_note/EditScreen/widget.html">widget</a></span>
  118. <span class="signature">&#8594; <a href="../screens_note/AddNoteScreenState-class.html">AddNoteScreenState</a></span>
  119. </dt>
  120. <dd>
  121. <div class="features">final</div>
  122. </dd>
  123. </dl>
  124. </section>
  125. <section class="summary offset-anchor" id="instance-methods">
  126. <h2>Methods</h2>
  127. <dl class="callables">
  128. <dt id="build" class="callable">
  129. <span class="name"><a href="../screens_note/EditScreen/build.html">build</a></span><span class="signature">(<wbr><span class="parameter" id="build-param-context"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/widgets/BuildContext-class.html">BuildContext</a></span> <span class="parameter-name">context</span></span>)
  130. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/widgets/Widget-class.html">Widget</a></span>
  131. </span>
  132. </dt>
  133. <dd>
  134. Describes the part of the user interface represented by this widget. <a href="../screens_note/EditScreen/build.html">[...]</a>
  135. <div class="features">override</div>
  136. </dd>
  137. <dt id="createElement" class="callable inherited">
  138. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html">createElement</a></span><span class="signature">(<wbr>)
  139. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/widgets/StatelessElement-class.html">StatelessElement</a></span>
  140. </span>
  141. </dt>
  142. <dd class="inherited">
  143. Creates a <a href="https://api.flutter.dev/flutter/widgets/StatelessElement-class.html">StatelessElement</a> to manage this widget's location in the tree. <a href="https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html">[...]</a>
  144. <div class="features">inherited</div>
  145. </dd>
  146. <dt id="debugDescribeChildren" class="callable inherited">
  147. <span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">debugDescribeChildren</a></span><span class="signature">(<wbr>)
  148. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html">DiagnosticsNode</a></span>&gt;</span></span>
  149. </span>
  150. </dt>
  151. <dd class="inherited">
  152. Returns a list of <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html">DiagnosticsNode</a> objects describing this node's
  153. children. <a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">[...]</a>
  154. <div class="features">@<a href="https://pub.dev/documentation/meta/1.3.0-nullsafety.3/meta/protected-constant.html">protected</a>, inherited</div>
  155. </dd>
  156. <dt id="debugFillProperties" class="callable inherited">
  157. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html">debugFillProperties</a></span><span class="signature">(<wbr><span class="parameter" id="debugFillProperties-param-properties"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html">DiagnosticPropertiesBuilder</a></span> <span class="parameter-name">properties</span></span>)
  158. <span class="returntype parameter">&#8594; void</span>
  159. </span>
  160. </dt>
  161. <dd class="inherited">
  162. Add additional properties associated with the node. <a href="https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html">[...]</a>
  163. <div class="features">inherited</div>
  164. </dd>
  165. <dt id="noSuchMethod" class="callable inherited">
  166. <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
  167. <span class="returntype parameter">&#8594; dynamic</span>
  168. </span>
  169. </dt>
  170. <dd class="inherited">
  171. Invoked when a non-existent method or property is accessed. <a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">[...]</a>
  172. <div class="features">inherited</div>
  173. </dd>
  174. <dt id="toDiagnosticsNode" class="callable inherited">
  175. <span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html">toDiagnosticsNode</a></span><span class="signature">(<wbr><span class="parameter" id="toDiagnosticsNode-param-name">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">name</span>, </span><span class="parameter" id="toDiagnosticsNode-param-style"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle-class.html">DiagnosticsTreeStyle</a></span> <span class="parameter-name">style</span>}</span>)
  176. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html">DiagnosticsNode</a></span>
  177. </span>
  178. </dt>
  179. <dd class="inherited">
  180. Returns a debug representation of the object that is used by debugging
  181. tools and by <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode/toStringDeep.html">DiagnosticsNode.toStringDeep</a>. <a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html">[...]</a>
  182. <div class="features">inherited</div>
  183. </dd>
  184. <dt id="toString" class="callable inherited">
  185. <span class="name"><a href="https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html">toString</a></span><span class="signature">(<wbr><span class="parameter" id="toString-param-minLevel">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticLevel-class.html">DiagnosticLevel</a></span> <span class="parameter-name">minLevel</span> = <span class="default-value">DiagnosticLevel.info</span>}</span>)
  186. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  187. </span>
  188. </dt>
  189. <dd class="inherited">
  190. Returns a string representation of this object.
  191. <div class="features">inherited</div>
  192. </dd>
  193. <dt id="toStringDeep" class="callable inherited">
  194. <span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html">toStringDeep</a></span><span class="signature">(<wbr><span class="parameter" id="toStringDeep-param-prefixLineOne">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">prefixLineOne</span> = <span class="default-value">&#39;&#39;</span>, </span><span class="parameter" id="toStringDeep-param-prefixOtherLines"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">prefixOtherLines</span>, </span><span class="parameter" id="toStringDeep-param-minLevel"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticLevel-class.html">DiagnosticLevel</a></span> <span class="parameter-name">minLevel</span> = <span class="default-value">DiagnosticLevel.debug</span>}</span>)
  195. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  196. </span>
  197. </dt>
  198. <dd class="inherited">
  199. Returns a string representation of this node and its descendants. <a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html">[...]</a>
  200. <div class="features">inherited</div>
  201. </dd>
  202. <dt id="toStringShallow" class="callable inherited">
  203. <span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html">toStringShallow</a></span><span class="signature">(<wbr><span class="parameter" id="toStringShallow-param-joiner">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">joiner</span> = <span class="default-value">&#39;, &#39;</span>, </span><span class="parameter" id="toStringShallow-param-minLevel"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticLevel-class.html">DiagnosticLevel</a></span> <span class="parameter-name">minLevel</span> = <span class="default-value">DiagnosticLevel.debug</span>}</span>)
  204. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  205. </span>
  206. </dt>
  207. <dd class="inherited">
  208. Returns a one-line detailed description of the object. <a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html">[...]</a>
  209. <div class="features">inherited</div>
  210. </dd>
  211. <dt id="toStringShort" class="callable inherited">
  212. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html">toStringShort</a></span><span class="signature">(<wbr>)
  213. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  214. </span>
  215. </dt>
  216. <dd class="inherited">
  217. A short, textual description of this widget.
  218. <div class="features">inherited</div>
  219. </dd>
  220. </dl>
  221. </section>
  222. <section class="summary offset-anchor inherited" id="operators">
  223. <h2>Operators</h2>
  224. <dl class="callables">
  225. <dt id="operator ==" class="callable inherited">
  226. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
  227. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
  228. </span>
  229. </dt>
  230. <dd class="inherited">
  231. The equality operator. <a href="https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html">[...]</a>
  232. <div class="features">@<a href="https://pub.dev/documentation/meta/1.3.0-nullsafety.3/meta/nonVirtual-constant.html">nonVirtual</a>, inherited</div>
  233. </dd>
  234. </dl>
  235. </section>
  236. </div> <!-- /.main-content -->
  237. <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  238. <ol>
  239. <li class="section-title"><a href="../screens_note/EditScreen-class.html#constructors">Constructors</a></li>
  240. <li><a href="../screens_note/EditScreen/EditScreen.html">EditScreen</a></li>
  241. <li class="section-title">
  242. <a href="../screens_note/EditScreen-class.html#instance-properties">Properties</a>
  243. </li>
  244. <li><a href="../screens_note/EditScreen/handleSave.html">handleSave</a></li>
  245. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">hashCode</a></li>
  246. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">key</a></li>
  247. <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>
  248. <li><a href="../screens_note/EditScreen/widget.html">widget</a></li>
  249. <li class="section-title"><a href="../screens_note/EditScreen-class.html#instance-methods">Methods</a></li>
  250. <li><a href="../screens_note/EditScreen/build.html">build</a></li>
  251. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html">createElement</a></li>
  252. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">debugDescribeChildren</a></li>
  253. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html">debugFillProperties</a></li>
  254. <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
  255. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html">toDiagnosticsNode</a></li>
  256. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html">toString</a></li>
  257. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html">toStringDeep</a></li>
  258. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html">toStringShallow</a></li>
  259. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html">toStringShort</a></li>
  260. <li class="section-title inherited"><a href="../screens_note/EditScreen-class.html#operators">Operators</a></li>
  261. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html">operator ==</a></li>
  262. </ol>
  263. </div><!--/.sidebar-offcanvas-->
  264. </main>
  265. <footer>
  266. <span class="no-break">
  267. trpp
  268. 2.0.0+2
  269. </span>
  270. </footer>
  271. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  272. <script src="../static-assets/typeahead.bundle.min.js"></script>
  273. <script src="../static-assets/highlight.pack.js"></script>
  274. <script src="../static-assets/script.js"></script>
  275. </body>
  276. </html>