ReadingTextField-class.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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 ReadingTextField class from the note library, for the Dart programming language.">
  8. <title>ReadingTextField 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">ReadingTextField class</li>
  25. </ol>
  26. <div class="self-name">ReadingTextField</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">ReadingTextField 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">ReadingTextField</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>ReadingTextField</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="ReadingTextField" class="callable">
  76. <span class="name"><a href="../screens_note/ReadingTextField/ReadingTextField.html">ReadingTextField</a></span><span class="signature">(<span class="parameter" id="-param-text">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">text</span>, </span><span class="parameter" id="-param-fontSize"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span> <span class="parameter-name">fontSize</span>, </span><span class="parameter" id="-param-fontWeight"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-ui/FontWeight-class.html">FontWeight</a></span> <span class="parameter-name">fontWeight</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="fontSize" class="property">
  86. <span class="name"><a href="../screens_note/ReadingTextField/fontSize.html">fontSize</a></span>
  87. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span>
  88. </dt>
  89. <dd>
  90. <div class="features">final</div>
  91. </dd>
  92. <dt id="fontWeight" class="property">
  93. <span class="name"><a href="../screens_note/ReadingTextField/fontWeight.html">fontWeight</a></span>
  94. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-ui/FontWeight-class.html">FontWeight</a></span>
  95. </dt>
  96. <dd>
  97. <div class="features">final</div>
  98. </dd>
  99. <dt id="hashCode" class="property inherited">
  100. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">hashCode</a></span>
  101. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  102. </dt>
  103. <dd class="inherited">
  104. The hash code for this object. <a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">[...]</a>
  105. <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>
  106. </dd>
  107. <dt id="key" class="property inherited">
  108. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">key</a></span>
  109. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/foundation/Key-class.html">Key</a></span>
  110. </dt>
  111. <dd class="inherited">
  112. Controls how one widget replaces another widget in the tree. <a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">[...]</a>
  113. <div class="features">final, inherited</div>
  114. </dd>
  115. <dt id="runtimeType" class="property inherited">
  116. <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
  117. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>
  118. </dt>
  119. <dd class="inherited">
  120. A representation of the runtime type of the object.
  121. <div class="features">read-only, inherited</div>
  122. </dd>
  123. <dt id="text" class="property">
  124. <span class="name"><a href="../screens_note/ReadingTextField/text.html">text</a></span>
  125. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  126. </dt>
  127. <dd>
  128. <div class="features">final</div>
  129. </dd>
  130. </dl>
  131. </section>
  132. <section class="summary offset-anchor" id="instance-methods">
  133. <h2>Methods</h2>
  134. <dl class="callables">
  135. <dt id="build" class="callable">
  136. <span class="name"><a href="../screens_note/ReadingTextField/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>)
  137. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/widgets/Widget-class.html">Widget</a></span>
  138. </span>
  139. </dt>
  140. <dd>
  141. Describes the part of the user interface represented by this widget. <a href="../screens_note/ReadingTextField/build.html">[...]</a>
  142. <div class="features">override</div>
  143. </dd>
  144. <dt id="createElement" class="callable inherited">
  145. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html">createElement</a></span><span class="signature">(<wbr>)
  146. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/widgets/StatelessElement-class.html">StatelessElement</a></span>
  147. </span>
  148. </dt>
  149. <dd class="inherited">
  150. 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>
  151. <div class="features">inherited</div>
  152. </dd>
  153. <dt id="debugDescribeChildren" class="callable inherited">
  154. <span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">debugDescribeChildren</a></span><span class="signature">(<wbr>)
  155. <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>
  156. </span>
  157. </dt>
  158. <dd class="inherited">
  159. Returns a list of <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html">DiagnosticsNode</a> objects describing this node's
  160. children. <a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">[...]</a>
  161. <div class="features">@<a href="https://pub.dev/documentation/meta/1.3.0-nullsafety.3/meta/protected-constant.html">protected</a>, inherited</div>
  162. </dd>
  163. <dt id="debugFillProperties" class="callable inherited">
  164. <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>)
  165. <span class="returntype parameter">&#8594; void</span>
  166. </span>
  167. </dt>
  168. <dd class="inherited">
  169. Add additional properties associated with the node. <a href="https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html">[...]</a>
  170. <div class="features">inherited</div>
  171. </dd>
  172. <dt id="noSuchMethod" class="callable inherited">
  173. <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>)
  174. <span class="returntype parameter">&#8594; dynamic</span>
  175. </span>
  176. </dt>
  177. <dd class="inherited">
  178. Invoked when a non-existent method or property is accessed. <a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">[...]</a>
  179. <div class="features">inherited</div>
  180. </dd>
  181. <dt id="toDiagnosticsNode" class="callable inherited">
  182. <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>)
  183. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html">DiagnosticsNode</a></span>
  184. </span>
  185. </dt>
  186. <dd class="inherited">
  187. Returns a debug representation of the object that is used by debugging
  188. 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>
  189. <div class="features">inherited</div>
  190. </dd>
  191. <dt id="toString" class="callable inherited">
  192. <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>)
  193. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  194. </span>
  195. </dt>
  196. <dd class="inherited">
  197. Returns a string representation of this object.
  198. <div class="features">inherited</div>
  199. </dd>
  200. <dt id="toStringDeep" class="callable inherited">
  201. <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>)
  202. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  203. </span>
  204. </dt>
  205. <dd class="inherited">
  206. Returns a string representation of this node and its descendants. <a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html">[...]</a>
  207. <div class="features">inherited</div>
  208. </dd>
  209. <dt id="toStringShallow" class="callable inherited">
  210. <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>)
  211. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  212. </span>
  213. </dt>
  214. <dd class="inherited">
  215. Returns a one-line detailed description of the object. <a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html">[...]</a>
  216. <div class="features">inherited</div>
  217. </dd>
  218. <dt id="toStringShort" class="callable inherited">
  219. <span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html">toStringShort</a></span><span class="signature">(<wbr>)
  220. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  221. </span>
  222. </dt>
  223. <dd class="inherited">
  224. A short, textual description of this widget.
  225. <div class="features">inherited</div>
  226. </dd>
  227. </dl>
  228. </section>
  229. <section class="summary offset-anchor inherited" id="operators">
  230. <h2>Operators</h2>
  231. <dl class="callables">
  232. <dt id="operator ==" class="callable inherited">
  233. <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>)
  234. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
  235. </span>
  236. </dt>
  237. <dd class="inherited">
  238. The equality operator. <a href="https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html">[...]</a>
  239. <div class="features">@<a href="https://pub.dev/documentation/meta/1.3.0-nullsafety.3/meta/nonVirtual-constant.html">nonVirtual</a>, inherited</div>
  240. </dd>
  241. </dl>
  242. </section>
  243. </div> <!-- /.main-content -->
  244. <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  245. <ol>
  246. <li class="section-title"><a href="../screens_note/ReadingTextField-class.html#constructors">Constructors</a></li>
  247. <li><a href="../screens_note/ReadingTextField/ReadingTextField.html">ReadingTextField</a></li>
  248. <li class="section-title">
  249. <a href="../screens_note/ReadingTextField-class.html#instance-properties">Properties</a>
  250. </li>
  251. <li><a href="../screens_note/ReadingTextField/fontSize.html">fontSize</a></li>
  252. <li><a href="../screens_note/ReadingTextField/fontWeight.html">fontWeight</a></li>
  253. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">hashCode</a></li>
  254. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">key</a></li>
  255. <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>
  256. <li><a href="../screens_note/ReadingTextField/text.html">text</a></li>
  257. <li class="section-title"><a href="../screens_note/ReadingTextField-class.html#instance-methods">Methods</a></li>
  258. <li><a href="../screens_note/ReadingTextField/build.html">build</a></li>
  259. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/StatelessWidget/createElement.html">createElement</a></li>
  260. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">debugDescribeChildren</a></li>
  261. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html">debugFillProperties</a></li>
  262. <li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
  263. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html">toDiagnosticsNode</a></li>
  264. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html">toString</a></li>
  265. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html">toStringDeep</a></li>
  266. <li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html">toStringShallow</a></li>
  267. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html">toStringShort</a></li>
  268. <li class="section-title inherited"><a href="../screens_note/ReadingTextField-class.html#operators">Operators</a></li>
  269. <li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html">operator ==</a></li>
  270. </ol>
  271. </div><!--/.sidebar-offcanvas-->
  272. </main>
  273. <footer>
  274. <span class="no-break">
  275. trpp
  276. 2.0.0+2
  277. </span>
  278. </footer>
  279. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  280. <script src="../static-assets/typeahead.bundle.min.js"></script>
  281. <script src="../static-assets/highlight.pack.js"></script>
  282. <script src="../static-assets/script.js"></script>
  283. </body>
  284. </html>