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.

ServiceTile-class.html 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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 ServiceTile class from the widgets library, for the Dart programming language.">
  8. <title>ServiceTile class - widgets 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="widgets/widgets-library.html">widgets</a></li>
  23. <li class="self-crumb">ServiceTile class</li>
  24. </ol>
  25. <div class="self-name">ServiceTile</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>widgets library</h5>
  33. <ol>
  34. <li class="section-title"><a href="widgets/widgets-library.html#classes">Classes</a></li>
  35. <li><a href="widgets/CharacteristicTile-class.html">CharacteristicTile</a></li>
  36. <li><a href="widgets/DescriptorTile-class.html">DescriptorTile</a></li>
  37. <li><a href="widgets/ScanResultTile-class.html">ScanResultTile</a></li>
  38. <li><a href="widgets/ServiceTile-class.html">ServiceTile</a></li>
  39. </ol>
  40. </div>
  41. <div class="col-xs-12 col-sm-9 col-md-8 main-content">
  42. <h1>ServiceTile class </h1>
  43. <section class="desc markdown">
  44. <p>Service tiles</p>
  45. </section>
  46. <section class="summary offset-anchor" id="constructors">
  47. <h2>Constructors</h2>
  48. <dl class="constructor-summary-list">
  49. <dt id="ServiceTile" class="callable">
  50. <span class="name"><a href="widgets/ServiceTile/ServiceTile.html">ServiceTile</a></span><span class="signature">({<span class="parameter" id="-param-key"><span class="type-annotation">Key</span> <span class="parameter-name">key</span>, </span> <span class="parameter" id="-param-service"><span class="type-annotation">BluetoothService</span> <span class="parameter-name">service</span>, </span> <span class="parameter" id="-param-characteristicTiles"><span class="type-annotation">List<span class="signature">&lt;<wbr><span class="type-parameter"><a href="widgets/CharacteristicTile-class.html">CharacteristicTile</a></span>&gt;</span></span> <span class="parameter-name">characteristicTiles</span>, </span> <span class="parameter" id="-param-onlyServiceToShow"><span class="type-annotation">String</span> <span class="parameter-name">onlyServiceToShow</span></span> })</span>
  51. </dt>
  52. <dd>
  53. <div class="constructor-modifier features">const</div>
  54. </dd>
  55. </dl>
  56. </section>
  57. <section class="summary offset-anchor" id="instance-properties">
  58. <h2>Properties</h2>
  59. <dl class="properties">
  60. <dt id="characteristicTiles" class="property">
  61. <span class="name"><a href="widgets/ServiceTile/characteristicTiles.html">characteristicTiles</a></span>
  62. <span class="signature">&#8594; List<span class="signature">&lt;<wbr><span class="type-parameter"><a href="widgets/CharacteristicTile-class.html">CharacteristicTile</a></span>&gt;</span></span>
  63. </dt>
  64. <dd>
  65. <div class="features">final</div>
  66. </dd>
  67. <dt id="onlyServiceToShow" class="property">
  68. <span class="name"><a href="widgets/ServiceTile/onlyServiceToShow.html">onlyServiceToShow</a></span>
  69. <span class="signature">&#8594; String</span>
  70. </dt>
  71. <dd>
  72. <div class="features">final</div>
  73. </dd>
  74. <dt id="service" class="property">
  75. <span class="name"><a href="widgets/ServiceTile/service.html">service</a></span>
  76. <span class="signature">&#8594; BluetoothService</span>
  77. </dt>
  78. <dd>
  79. <div class="features">final</div>
  80. </dd>
  81. <dt id="hashCode" class="property inherited">
  82. <span class="name"><a href="widgets/ServiceTile/hashCode.html">hashCode</a></span>
  83. <span class="signature">&#8594; int</span>
  84. </dt>
  85. <dd class="inherited">
  86. The hash code for this object. <a href="widgets/ServiceTile/hashCode.html">[...]</a>
  87. <div class="features">read-only, inherited</div>
  88. </dd>
  89. <dt id="key" class="property inherited">
  90. <span class="name"><a href="widgets/ServiceTile/key.html">key</a></span>
  91. <span class="signature">&#8594; Key</span>
  92. </dt>
  93. <dd class="inherited">
  94. Controls how one widget replaces another widget in the tree. <a href="widgets/ServiceTile/key.html">[...]</a>
  95. <div class="features">final, inherited</div>
  96. </dd>
  97. <dt id="runtimeType" class="property inherited">
  98. <span class="name"><a href="widgets/ServiceTile/runtimeType.html">runtimeType</a></span>
  99. <span class="signature">&#8594; Type</span>
  100. </dt>
  101. <dd class="inherited">
  102. A representation of the runtime type of the object.
  103. <div class="features">read-only, inherited</div>
  104. </dd>
  105. </dl>
  106. </section>
  107. <section class="summary offset-anchor" id="instance-methods">
  108. <h2>Methods</h2>
  109. <dl class="callables">
  110. <dt id="build" class="callable">
  111. <span class="name"><a href="widgets/ServiceTile/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>)
  112. <span class="returntype parameter">&#8594; Widget</span>
  113. </span>
  114. </dt>
  115. <dd>
  116. Describes the part of the user interface represented by this widget. <a href="widgets/ServiceTile/build.html">[...]</a>
  117. </dd>
  118. <dt id="createElement" class="callable inherited">
  119. <span class="name"><a href="widgets/ServiceTile/createElement.html">createElement</a></span><span class="signature">(<wbr>)
  120. <span class="returntype parameter">&#8594; StatelessElement</span>
  121. </span>
  122. </dt>
  123. <dd class="inherited">
  124. Creates a <code>StatelessElement</code> to manage this widget's location in the tree. <a href="widgets/ServiceTile/createElement.html">[...]</a>
  125. <div class="features">inherited</div>
  126. </dd>
  127. <dt id="debugDescribeChildren" class="callable inherited">
  128. <span class="name"><a href="widgets/ServiceTile/debugDescribeChildren.html">debugDescribeChildren</a></span><span class="signature">(<wbr>)
  129. <span class="returntype parameter">&#8594; List<span class="signature">&lt;<wbr><span class="type-parameter">DiagnosticsNode</span>&gt;</span></span>
  130. </span>
  131. </dt>
  132. <dd class="inherited">
  133. Returns a list of <code>DiagnosticsNode</code> objects describing this node's
  134. children. <a href="widgets/ServiceTile/debugDescribeChildren.html">[...]</a>
  135. <div class="features">@protected, inherited</div>
  136. </dd>
  137. <dt id="debugFillProperties" class="callable inherited">
  138. <span class="name"><a href="widgets/ServiceTile/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>)
  139. <span class="returntype parameter">&#8594; void</span>
  140. </span>
  141. </dt>
  142. <dd class="inherited">
  143. Add additional properties associated with the node. <a href="widgets/ServiceTile/debugFillProperties.html">[...]</a>
  144. <div class="features">inherited</div>
  145. </dd>
  146. <dt id="noSuchMethod" class="callable inherited">
  147. <span class="name"><a href="widgets/ServiceTile/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>)
  148. <span class="returntype parameter">&#8594; dynamic</span>
  149. </span>
  150. </dt>
  151. <dd class="inherited">
  152. Invoked when a non-existent method or property is accessed. <a href="widgets/ServiceTile/noSuchMethod.html">[...]</a>
  153. <div class="features">inherited</div>
  154. </dd>
  155. <dt id="toDiagnosticsNode" class="callable inherited">
  156. <span class="name"><a href="widgets/ServiceTile/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> })
  157. <span class="returntype parameter">&#8594; DiagnosticsNode</span>
  158. </span>
  159. </dt>
  160. <dd class="inherited">
  161. Returns a debug representation of the object that is used by debugging
  162. tools and by <a href="widgets/ServiceTile/toStringDeep.html">toStringDeep</a>. <a href="widgets/ServiceTile/toDiagnosticsNode.html">[...]</a>
  163. <div class="features">inherited</div>
  164. </dd>
  165. <dt id="toString" class="callable inherited">
  166. <span class="name"><a href="widgets/ServiceTile/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> })
  167. <span class="returntype parameter">&#8594; String</span>
  168. </span>
  169. </dt>
  170. <dd class="inherited">
  171. Returns a string representation of this object.
  172. <div class="features">inherited</div>
  173. </dd>
  174. <dt id="toStringDeep" class="callable inherited">
  175. <span class="name"><a href="widgets/ServiceTile/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> })
  176. <span class="returntype parameter">&#8594; String</span>
  177. </span>
  178. </dt>
  179. <dd class="inherited">
  180. Returns a string representation of this node and its descendants. <a href="widgets/ServiceTile/toStringDeep.html">[...]</a>
  181. <div class="features">inherited</div>
  182. </dd>
  183. <dt id="toStringShallow" class="callable inherited">
  184. <span class="name"><a href="widgets/ServiceTile/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> })
  185. <span class="returntype parameter">&#8594; String</span>
  186. </span>
  187. </dt>
  188. <dd class="inherited">
  189. Returns a one-line detailed description of the object. <a href="widgets/ServiceTile/toStringShallow.html">[...]</a>
  190. <div class="features">inherited</div>
  191. </dd>
  192. <dt id="toStringShort" class="callable inherited">
  193. <span class="name"><a href="widgets/ServiceTile/toStringShort.html">toStringShort</a></span><span class="signature">(<wbr>)
  194. <span class="returntype parameter">&#8594; String</span>
  195. </span>
  196. </dt>
  197. <dd class="inherited">
  198. A short, textual description of this widget.
  199. <div class="features">inherited</div>
  200. </dd>
  201. </dl>
  202. </section>
  203. <section class="summary offset-anchor inherited" id="operators">
  204. <h2>Operators</h2>
  205. <dl class="callables">
  206. <dt id="operator ==" class="callable inherited">
  207. <span class="name"><a href="widgets/ServiceTile/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>)
  208. <span class="returntype parameter">&#8594; bool</span>
  209. </span>
  210. </dt>
  211. <dd class="inherited">
  212. The equality operator. <a href="widgets/ServiceTile/operator_equals.html">[...]</a>
  213. <div class="features">inherited</div>
  214. </dd>
  215. </dl>
  216. </section>
  217. </div> <!-- /.main-content -->
  218. <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  219. <ol>
  220. <li class="section-title"><a href="widgets/ServiceTile-class.html#constructors">Constructors</a></li>
  221. <li><a href="widgets/ServiceTile/ServiceTile.html">ServiceTile</a></li>
  222. <li class="section-title">
  223. <a href="widgets/ServiceTile-class.html#instance-properties">Properties</a>
  224. </li>
  225. <li><a href="widgets/ServiceTile/characteristicTiles.html">characteristicTiles</a></li>
  226. <li><a href="widgets/ServiceTile/onlyServiceToShow.html">onlyServiceToShow</a></li>
  227. <li><a href="widgets/ServiceTile/service.html">service</a></li>
  228. <li class="inherited"><a href="widgets/ServiceTile/hashCode.html">hashCode</a></li>
  229. <li class="inherited"><a href="widgets/ServiceTile/key.html">key</a></li>
  230. <li class="inherited"><a href="widgets/ServiceTile/runtimeType.html">runtimeType</a></li>
  231. <li class="section-title"><a href="widgets/ServiceTile-class.html#instance-methods">Methods</a></li>
  232. <li><a href="widgets/ServiceTile/build.html">build</a></li>
  233. <li class="inherited"><a href="widgets/ServiceTile/createElement.html">createElement</a></li>
  234. <li class="inherited"><a href="widgets/ServiceTile/debugDescribeChildren.html">debugDescribeChildren</a></li>
  235. <li class="inherited"><a href="widgets/ServiceTile/debugFillProperties.html">debugFillProperties</a></li>
  236. <li class="inherited"><a href="widgets/ServiceTile/noSuchMethod.html">noSuchMethod</a></li>
  237. <li class="inherited"><a href="widgets/ServiceTile/toDiagnosticsNode.html">toDiagnosticsNode</a></li>
  238. <li class="inherited"><a href="widgets/ServiceTile/toString.html">toString</a></li>
  239. <li class="inherited"><a href="widgets/ServiceTile/toStringDeep.html">toStringDeep</a></li>
  240. <li class="inherited"><a href="widgets/ServiceTile/toStringShallow.html">toStringShallow</a></li>
  241. <li class="inherited"><a href="widgets/ServiceTile/toStringShort.html">toStringShort</a></li>
  242. <li class="section-title inherited"><a href="widgets/ServiceTile-class.html#operators">Operators</a></li>
  243. <li class="inherited"><a href="widgets/ServiceTile/operator_equals.html">operator ==</a></li>
  244. </ol>
  245. </div><!--/.sidebar-offcanvas-->
  246. </main>
  247. <footer>
  248. <span class="no-break">
  249. touch_demonstrator 1.0.0+1
  250. </span>
  251. </footer>
  252. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  253. <script src="static-assets/typeahead.bundle.min.js"></script>
  254. <script src="static-assets/highlight.pack.js"></script>
  255. <script src="static-assets/URI.js"></script>
  256. <script src="static-assets/script.js"></script>
  257. </body>
  258. </html>