CustomAlertDialog-class.html 20 KB

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