data_theme-library.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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="theme library API docs, for the Dart programming language.">
  8. <title>theme 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 class="self-crumb">theme library</li>
  24. </ol>
  25. <div class="self-name">theme</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 id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
  32. <header id="header-search-sidebar" class="hidden-l">
  33. <form class="search-sidebar" role="search">
  34. <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  35. </form>
  36. </header>
  37. <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
  38. <li><a href="../index.html">trpp</a></li>
  39. <li class="self-crumb">theme library</li>
  40. </ol>
  41. <h5><span class="package-name">trpp</span> <span class="package-kind">package</span></h5>
  42. <ol>
  43. <li class="section-title">Libraries</li>
  44. <li><a href="../widgets_custom_alert_dialog/widgets_custom_alert_dialog-library.html">custom_alert_dialog</a></li>
  45. <li><a href="../data_data/data_data-library.html">data</a></li>
  46. <li><a href="../screens_home/screens_home-library.html">home</a></li>
  47. <li><a href="../main/main-library.html">main</a></li>
  48. <li><a href="../screens_note/screens_note-library.html">note</a></li>
  49. <li><a href="../widgets_popup_dialog/widgets_popup_dialog-library.html">popup_dialog</a></li>
  50. <li><a href="../screens_settings/screens_settings-library.html">settings</a></li>
  51. <li><a href="../data_theme/data_theme-library.html">theme</a></li>
  52. <li><a href="../widgets_toolbar/widgets_toolbar-library.html">toolbar</a></li>
  53. </ol>
  54. </div>
  55. <div id="dartdoc-main-content" class="main-content">
  56. <div><h1><span class="kind-library">theme</span> library </h1></div>
  57. <section class="summary offset-anchor" id="classes">
  58. <h2>Classes</h2>
  59. <dl>
  60. <dt id="TupleTheme">
  61. <span class="name "><a href="../data_theme/TupleTheme-class.html">TupleTheme</a></span>
  62. </dt>
  63. <dd>
  64. Stores themeData and it's name
  65. </dd>
  66. </dl>
  67. </section>
  68. <section class="summary offset-anchor" id="properties">
  69. <h2>Properties</h2>
  70. <dl class="properties">
  71. <dt id="appThemeDarkBlue" class="property">
  72. <span class="name"><a href="../data_theme/appThemeDarkBlue.html">appThemeDarkBlue</a></span>
  73. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  74. </dt>
  75. <dd>
  76. <div class="features">final</div>
  77. </dd>
  78. <dt id="appThemeDarkGreen" class="property">
  79. <span class="name"><a href="../data_theme/appThemeDarkGreen.html">appThemeDarkGreen</a></span>
  80. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  81. </dt>
  82. <dd>
  83. <div class="features">final</div>
  84. </dd>
  85. <dt id="appThemeDarkPurple" class="property">
  86. <span class="name"><a href="../data_theme/appThemeDarkPurple.html">appThemeDarkPurple</a></span>
  87. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  88. </dt>
  89. <dd>
  90. <div class="features">final</div>
  91. </dd>
  92. <dt id="appThemeDarkRed" class="property">
  93. <span class="name"><a href="../data_theme/appThemeDarkRed.html">appThemeDarkRed</a></span>
  94. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  95. </dt>
  96. <dd>
  97. <div class="features">final</div>
  98. </dd>
  99. <dt id="appThemeDarkYellow" class="property">
  100. <span class="name"><a href="../data_theme/appThemeDarkYellow.html">appThemeDarkYellow</a></span>
  101. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  102. </dt>
  103. <dd>
  104. <div class="features">final</div>
  105. </dd>
  106. <dt id="appThemeLightBlue" class="property">
  107. <span class="name"><a href="../data_theme/appThemeLightBlue.html">appThemeLightBlue</a></span>
  108. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  109. </dt>
  110. <dd>
  111. <div class="features">final</div>
  112. </dd>
  113. <dt id="appThemeLightGreen" class="property">
  114. <span class="name"><a href="../data_theme/appThemeLightGreen.html">appThemeLightGreen</a></span>
  115. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  116. </dt>
  117. <dd>
  118. <div class="features">final</div>
  119. </dd>
  120. <dt id="appThemeLightPurple" class="property">
  121. <span class="name"><a href="../data_theme/appThemeLightPurple.html">appThemeLightPurple</a></span>
  122. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  123. </dt>
  124. <dd>
  125. <div class="features">final</div>
  126. </dd>
  127. <dt id="appThemeLightRed" class="property">
  128. <span class="name"><a href="../data_theme/appThemeLightRed.html">appThemeLightRed</a></span>
  129. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  130. </dt>
  131. <dd>
  132. <div class="features">final</div>
  133. </dd>
  134. <dt id="appThemeLightYellow" class="property">
  135. <span class="name"><a href="../data_theme/appThemeLightYellow.html">appThemeLightYellow</a></span>
  136. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  137. </dt>
  138. <dd>
  139. <div class="features">final</div>
  140. </dd>
  141. <dt id="background" class="property">
  142. <span class="name"><a href="../data_theme/background.html">background</a></span>
  143. <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-ui/Color-class.html">Color</a></span>
  144. </dt>
  145. <dd>
  146. <div class="features">read / write</div>
  147. </dd>
  148. <dt id="cyberpunkTheme" class="property">
  149. <span class="name"><a href="../data_theme/cyberpunkTheme.html">cyberpunkTheme</a></span>
  150. <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  151. </dt>
  152. <dd>
  153. <div class="features">final</div>
  154. </dd>
  155. <dt id="defaultTheme" class="property">
  156. <span class="name"><a href="../data_theme/defaultTheme.html">defaultTheme</a></span>
  157. <span class="signature">&#8594; <a href="../data_theme/TupleTheme-class.html">TupleTheme</a></span>
  158. </dt>
  159. <dd>
  160. <div class="features">final</div>
  161. </dd>
  162. <dt id="foreground" class="property">
  163. <span class="name"><a href="../data_theme/foreground.html">foreground</a></span>
  164. <span class="signature">&#8596; <a href="https://api.flutter.dev/flutter/dart-ui/Color-class.html">Color</a></span>
  165. </dt>
  166. <dd>
  167. <div class="features">read / write</div>
  168. </dd>
  169. <dt id="ThemeNames" class="property">
  170. <span class="name"><a href="../data_theme/ThemeNames.html">ThemeNames</a></span>
  171. <span class="signature">&#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="../data_theme/TupleTheme-class.html">TupleTheme</a></span>&gt;</span></span>
  172. </dt>
  173. <dd>
  174. <div class="features">final</div>
  175. </dd>
  176. </dl>
  177. </section>
  178. <section class="summary offset-anchor" id="functions">
  179. <h2>Functions</h2>
  180. <dl class="callables">
  181. <dt id="generateTheme" class="callable">
  182. <span class="name"><a href="../data_theme/generateTheme.html">generateTheme</a></span><span class="signature">(<wbr><span class="parameter" id="generateTheme-param-isDark"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">isDark</span>, </span><span class="parameter" id="generateTheme-param-color"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/material/MaterialColor-class.html">MaterialColor</a></span> <span class="parameter-name">color</span></span>)
  183. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  184. </span>
  185. </dt>
  186. <dd>
  187. Returns constant theme
  188. </dd>
  189. <dt id="getCurrentTheme" class="callable">
  190. <span class="name"><a href="../data_theme/getCurrentTheme.html">getCurrentTheme</a></span><span class="signature">(<wbr>)
  191. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../data_theme/TupleTheme-class.html">TupleTheme</a></span>&gt;</span></span>
  192. </span>
  193. </dt>
  194. <dd>
  195. Returns name of current theme
  196. </dd>
  197. <dt id="getThemeByName" class="callable">
  198. <span class="name"><a href="../data_theme/getThemeByName.html">getThemeByName</a></span><span class="signature">(<wbr><span class="parameter" id="getThemeByName-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>)
  199. <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
  200. </span>
  201. </dt>
  202. <dd>
  203. Returns themeData by name
  204. </dd>
  205. </dl>
  206. </section>
  207. </div> <!-- /.main-content -->
  208. <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  209. <h5>theme library</h5>
  210. <ol>
  211. <li class="section-title"><a href="../data_theme/data_theme-library.html#classes">Classes</a></li>
  212. <li><a href="../data_theme/TupleTheme-class.html">TupleTheme</a></li>
  213. <li class="section-title"><a href="../data_theme/data_theme-library.html#properties">Properties</a></li>
  214. <li><a href="../data_theme/appThemeDarkBlue.html">appThemeDarkBlue</a></li>
  215. <li><a href="../data_theme/appThemeDarkGreen.html">appThemeDarkGreen</a></li>
  216. <li><a href="../data_theme/appThemeDarkPurple.html">appThemeDarkPurple</a></li>
  217. <li><a href="../data_theme/appThemeDarkRed.html">appThemeDarkRed</a></li>
  218. <li><a href="../data_theme/appThemeDarkYellow.html">appThemeDarkYellow</a></li>
  219. <li><a href="../data_theme/appThemeLightBlue.html">appThemeLightBlue</a></li>
  220. <li><a href="../data_theme/appThemeLightGreen.html">appThemeLightGreen</a></li>
  221. <li><a href="../data_theme/appThemeLightPurple.html">appThemeLightPurple</a></li>
  222. <li><a href="../data_theme/appThemeLightRed.html">appThemeLightRed</a></li>
  223. <li><a href="../data_theme/appThemeLightYellow.html">appThemeLightYellow</a></li>
  224. <li><a href="../data_theme/background.html">background</a></li>
  225. <li><a href="../data_theme/cyberpunkTheme.html">cyberpunkTheme</a></li>
  226. <li><a href="../data_theme/defaultTheme.html">defaultTheme</a></li>
  227. <li><a href="../data_theme/foreground.html">foreground</a></li>
  228. <li><a href="../data_theme/ThemeNames.html">ThemeNames</a></li>
  229. <li class="section-title"><a href="../data_theme/data_theme-library.html#functions">Functions</a></li>
  230. <li><a href="../data_theme/generateTheme.html">generateTheme</a></li>
  231. <li><a href="../data_theme/getCurrentTheme.html">getCurrentTheme</a></li>
  232. <li><a href="../data_theme/getThemeByName.html">getThemeByName</a></li>
  233. </ol>
  234. </div><!--/sidebar-offcanvas-right-->
  235. </main>
  236. <footer>
  237. <span class="no-break">
  238. trpp
  239. 2.0.0+2
  240. </span>
  241. </footer>
  242. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  243. <script src="../static-assets/typeahead.bundle.min.js"></script>
  244. <script src="../static-assets/highlight.pack.js"></script>
  245. <script src="../static-assets/script.js"></script>
  246. </body>
  247. </html>