Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Button-class.html 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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, initial-scale=1">
  7. <meta name="description" content="API docs for the Button class from the uiComponents library, for the Dart programming language.">
  8. <title>Button class - uiComponents library - Dart API</title>
  9. <!-- required because all the links are pseudo-absolute -->
  10. <base href="..">
  11. <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" 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>
  17. <div id="overlay-under-drawer"></div>
  18. <header id="title">
  19. <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  20. <ol class="breadcrumbs gt-separated dark hidden-xs">
  21. <li><a href="index.html">touch_demonstrator</a></li>
  22. <li><a href="ui_home_uiComponents/ui_home_uiComponents-library.html">uiComponents</a></li>
  23. <li class="self-crumb">Button class</li>
  24. </ol>
  25. <div class="self-name">Button</div>
  26. <form class="search navbar-right" role="search">
  27. <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  28. </form>
  29. </header>
  30. <main>
  31. <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
  32. <h5>uiComponents library</h5>
  33. <ol>
  34. <li class="section-title"><a href="ui_home_uiComponents/ui_home_uiComponents-library.html#classes">Classes</a></li>
  35. <li><a href="ui_home_uiComponents/Button-class.html">Button</a></li>
  36. <li><a href="ui_home_uiComponents/ButtonOrAnimation-class.html">ButtonOrAnimation</a></li>
  37. <li><a href="ui_home_uiComponents/Logo-class.html">Logo</a></li>
  38. <li><a href="ui_home_uiComponents/Sensor-class.html">Sensor</a></li>
  39. <li><a href="ui_home_uiComponents/SideDrawer-class.html">SideDrawer</a></li>
  40. <li><a href="ui_home_uiComponents/SuccessAnimation-class.html">SuccessAnimation</a></li>
  41. <li><a href="ui_home_uiComponents/TextAboveLogo-class.html">TextAboveLogo</a></li>
  42. <li><a href="ui_home_uiComponents/TouchPad-class.html">TouchPad</a></li>
  43. </ol>
  44. </div>
  45. <div class="col-xs-12 col-sm-9 col-md-8 main-content">
  46. <h1>Button class </h1>
  47. <section class="summary offset-anchor" id="constructors">
  48. <h2>Constructors</h2>
  49. <dl class="constructor-summary-list">
  50. <dt id="Button" class="callable">
  51. <span class="name"><a href="ui_home_uiComponents/Button/Button.html">Button</a></span><span class="signature">()</span>
  52. </dt>
  53. <dd>
  54. </dd>
  55. </dl>
  56. </section>
  57. <section class="summary offset-anchor inherited" id="instance-properties">
  58. <h2>Properties</h2>
  59. <dl class="properties">
  60. <dt id="hashCode" class="property inherited">
  61. <span class="name"><a href="ui_home_uiComponents/Button/hashCode.html">hashCode</a></span>
  62. <span class="signature">&#8594; int</span>
  63. </dt>
  64. <dd class="inherited">
  65. The hash code for this object. <a href="ui_home_uiComponents/Button/hashCode.html">[...]</a>
  66. <div class="features">read-only, inherited</div>
  67. </dd>
  68. <dt id="key" class="property inherited">
  69. <span class="name"><a href="ui_home_uiComponents/Button/key.html">key</a></span>
  70. <span class="signature">&#8594; Key</span>
  71. </dt>
  72. <dd class="inherited">
  73. Controls how one widget replaces another widget in the tree. <a href="ui_home_uiComponents/Button/key.html">[...]</a>
  74. <div class="features">final, inherited</div>
  75. </dd>
  76. <dt id="runtimeType" class="property inherited">
  77. <span class="name"><a href="ui_home_uiComponents/Button/runtimeType.html">runtimeType</a></span>
  78. <span class="signature">&#8594; Type</span>
  79. </dt>
  80. <dd class="inherited">
  81. A representation of the runtime type of the object.
  82. <div class="features">read-only, inherited</div>
  83. </dd>
  84. </dl>
  85. </section>
  86. <section class="summary offset-anchor" id="instance-methods">
  87. <h2>Methods</h2>
  88. <dl class="callables">
  89. <dt id="build" class="callable">
  90. <span class="name"><a href="ui_home_uiComponents/Button/build.html">build</a></span><span class="signature">(<wbr><span class="parameter" id="build-param-context"><span class="type-annotation">BuildContext</span> <span class="parameter-name">context</span></span>)
  91. <span class="returntype parameter">&#8594; Widget</span>
  92. </span>
  93. </dt>
  94. <dd>
  95. Describes the part of the user interface represented by this widget. <a href="ui_home_uiComponents/Button/build.html">[...]</a>
  96. </dd>
  97. <dt id="createElement" class="callable inherited">
  98. <span class="name"><a href="ui_home_uiComponents/Button/createElement.html">createElement</a></span><span class="signature">(<wbr>)
  99. <span class="returntype parameter">&#8594; StatelessElement</span>
  100. </span>
  101. </dt>
  102. <dd class="inherited">
  103. Creates a <code>StatelessElement</code> to manage this widget's location in the tree. <a href="ui_home_uiComponents/Button/createElement.html">[...]</a>
  104. <div class="features">inherited</div>
  105. </dd>
  106. <dt id="debugDescribeChildren" class="callable inherited">
  107. <span class="name"><a href="ui_home_uiComponents/Button/debugDescribeChildren.html">debugDescribeChildren</a></span><span class="signature">(<wbr>)
  108. <span class="returntype parameter">&#8594; List<span class="signature">&lt;<wbr><span class="type-parameter">DiagnosticsNode</span>&gt;</span></span>
  109. </span>
  110. </dt>
  111. <dd class="inherited">
  112. Returns a list of <code>DiagnosticsNode</code> objects describing this node's
  113. children. <a href="ui_home_uiComponents/Button/debugDescribeChildren.html">[...]</a>
  114. <div class="features">@protected, inherited</div>
  115. </dd>
  116. <dt id="debugFillProperties" class="callable inherited">
  117. <span class="name"><a href="ui_home_uiComponents/Button/debugFillProperties.html">debugFillProperties</a></span><span class="signature">(<wbr><span class="parameter" id="debugFillProperties-param-properties"><span class="type-annotation">DiagnosticPropertiesBuilder</span> <span class="parameter-name">properties</span></span>)
  118. <span class="returntype parameter">&#8594; void</span>
  119. </span>
  120. </dt>
  121. <dd class="inherited">
  122. Add additional properties associated with the node. <a href="ui_home_uiComponents/Button/debugFillProperties.html">[...]</a>
  123. <div class="features">inherited</div>
  124. </dd>
  125. <dt id="noSuchMethod" class="callable inherited">
  126. <span class="name"><a href="ui_home_uiComponents/Button/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation">Invocation</span> <span class="parameter-name">invocation</span></span>)
  127. <span class="returntype parameter">&#8594; dynamic</span>
  128. </span>
  129. </dt>
  130. <dd class="inherited">
  131. Invoked when a non-existent method or property is accessed. <a href="ui_home_uiComponents/Button/noSuchMethod.html">[...]</a>
  132. <div class="features">inherited</div>
  133. </dd>
  134. <dt id="toDiagnosticsNode" class="callable inherited">
  135. <span class="name"><a href="ui_home_uiComponents/Button/toDiagnosticsNode.html">toDiagnosticsNode</a></span><span class="signature">(<wbr>{<span class="parameter" id="toDiagnosticsNode-param-name"><span class="type-annotation">String</span> <span class="parameter-name">name</span>, </span> <span class="parameter" id="toDiagnosticsNode-param-style"><span class="type-annotation">DiagnosticsTreeStyle</span> <span class="parameter-name">style</span></span> })
  136. <span class="returntype parameter">&#8594; DiagnosticsNode</span>
  137. </span>
  138. </dt>
  139. <dd class="inherited">
  140. Returns a debug representation of the object that is used by debugging
  141. tools and by <code>toStringDeep</code>. <a href="ui_home_uiComponents/Button/toDiagnosticsNode.html">[...]</a>
  142. <div class="features">inherited</div>
  143. </dd>
  144. <dt id="toString" class="callable inherited">
  145. <span class="name"><a href="ui_home_uiComponents/Button/toString.html">toString</a></span><span class="signature">(<wbr>{<span class="parameter" id="toString-param-minLevel"><span class="type-annotation">DiagnosticLevel</span> <span class="parameter-name">minLevel</span>: <span class="default-value">DiagnosticLevel.debug</span></span> })
  146. <span class="returntype parameter">&#8594; String</span>
  147. </span>
  148. </dt>
  149. <dd class="inherited">
  150. Returns a string representation of this object.
  151. <div class="features">inherited</div>
  152. </dd>
  153. <dt id="toStringDeep" class="callable inherited">
  154. <span class="name"><a href="ui_home_uiComponents/Button/toStringDeep.html">toStringDeep</a></span><span class="signature">(<wbr>{<span class="parameter" id="toStringDeep-param-prefixLineOne"><span class="type-annotation">String</span> <span class="parameter-name">prefixLineOne</span>: <span class="default-value">''</span>, </span> <span class="parameter" id="toStringDeep-param-prefixOtherLines"><span class="type-annotation">String</span> <span class="parameter-name">prefixOtherLines</span>, </span> <span class="parameter" id="toStringDeep-param-minLevel"><span class="type-annotation">DiagnosticLevel</span> <span class="parameter-name">minLevel</span>: <span class="default-value">DiagnosticLevel.debug</span></span> })
  155. <span class="returntype parameter">&#8594; String</span>
  156. </span>
  157. </dt>
  158. <dd class="inherited">
  159. Returns a string representation of this node and its descendants. <a href="ui_home_uiComponents/Button/toStringDeep.html">[...]</a>
  160. <div class="features">inherited</div>
  161. </dd>
  162. <dt id="toStringShallow" class="callable inherited">
  163. <span class="name"><a href="ui_home_uiComponents/Button/toStringShallow.html">toStringShallow</a></span><span class="signature">(<wbr>{<span class="parameter" id="toStringShallow-param-joiner"><span class="type-annotation">String</span> <span class="parameter-name">joiner</span>: <span class="default-value">', '</span>, </span> <span class="parameter" id="toStringShallow-param-minLevel"><span class="type-annotation">DiagnosticLevel</span> <span class="parameter-name">minLevel</span>: <span class="default-value">DiagnosticLevel.debug</span></span> })
  164. <span class="returntype parameter">&#8594; String</span>
  165. </span>
  166. </dt>
  167. <dd class="inherited">
  168. Returns a one-line detailed description of the object. <a href="ui_home_uiComponents/Button/toStringShallow.html">[...]</a>
  169. <div class="features">inherited</div>
  170. </dd>
  171. <dt id="toStringShort" class="callable inherited">
  172. <span class="name"><a href="ui_home_uiComponents/Button/toStringShort.html">toStringShort</a></span><span class="signature">(<wbr>)
  173. <span class="returntype parameter">&#8594; String</span>
  174. </span>
  175. </dt>
  176. <dd class="inherited">
  177. A short, textual description of this widget.
  178. <div class="features">inherited</div>
  179. </dd>
  180. </dl>
  181. </section>
  182. <section class="summary offset-anchor inherited" id="operators">
  183. <h2>Operators</h2>
  184. <dl class="callables">
  185. <dt id="operator ==" class="callable inherited">
  186. <span class="name"><a href="ui_home_uiComponents/Button/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">dynamic</span> <span class="parameter-name">other</span></span>)
  187. <span class="returntype parameter">&#8594; bool</span>
  188. </span>
  189. </dt>
  190. <dd class="inherited">
  191. The equality operator. <a href="ui_home_uiComponents/Button/operator_equals.html">[...]</a>
  192. <div class="features">inherited</div>
  193. </dd>
  194. </dl>
  195. </section>
  196. </div> <!-- /.main-content -->
  197. <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  198. <ol>
  199. <li class="section-title"><a href="ui_home_uiComponents/Button-class.html#constructors">Constructors</a></li>
  200. <li><a href="ui_home_uiComponents/Button/Button.html">Button</a></li>
  201. <li class="section-title inherited">
  202. <a href="ui_home_uiComponents/Button-class.html#instance-properties">Properties</a>
  203. </li>
  204. <li class="inherited"><a href="ui_home_uiComponents/Button/hashCode.html">hashCode</a></li>
  205. <li class="inherited"><a href="ui_home_uiComponents/Button/key.html">key</a></li>
  206. <li class="inherited"><a href="ui_home_uiComponents/Button/runtimeType.html">runtimeType</a></li>
  207. <li class="section-title"><a href="ui_home_uiComponents/Button-class.html#instance-methods">Methods</a></li>
  208. <li><a href="ui_home_uiComponents/Button/build.html">build</a></li>
  209. <li class="inherited"><a href="ui_home_uiComponents/Button/createElement.html">createElement</a></li>
  210. <li class="inherited"><a href="ui_home_uiComponents/Button/debugDescribeChildren.html">debugDescribeChildren</a></li>
  211. <li class="inherited"><a href="ui_home_uiComponents/Button/debugFillProperties.html">debugFillProperties</a></li>
  212. <li class="inherited"><a href="ui_home_uiComponents/Button/noSuchMethod.html">noSuchMethod</a></li>
  213. <li class="inherited"><a href="ui_home_uiComponents/Button/toDiagnosticsNode.html">toDiagnosticsNode</a></li>
  214. <li class="inherited"><a href="ui_home_uiComponents/Button/toString.html">toString</a></li>
  215. <li class="inherited"><a href="ui_home_uiComponents/Button/toStringDeep.html">toStringDeep</a></li>
  216. <li class="inherited"><a href="ui_home_uiComponents/Button/toStringShallow.html">toStringShallow</a></li>
  217. <li class="inherited"><a href="ui_home_uiComponents/Button/toStringShort.html">toStringShort</a></li>
  218. <li class="section-title inherited"><a href="ui_home_uiComponents/Button-class.html#operators">Operators</a></li>
  219. <li class="inherited"><a href="ui_home_uiComponents/Button/operator_equals.html">operator ==</a></li>
  220. </ol>
  221. </div><!--/.sidebar-offcanvas-->
  222. </main>
  223. <footer>
  224. <span class="no-break">
  225. touch_demonstrator 1.0.0+1
  226. </span>
  227. </footer>
  228. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  229. <script src="static-assets/typeahead.bundle.min.js"></script>
  230. <script src="static-assets/highlight.pack.js"></script>
  231. <script src="static-assets/URI.js"></script>
  232. <script src="static-assets/script.js"></script>
  233. </body>
  234. </html>