123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
- <meta name="description" content="theme library API docs, for the Dart programming language.">
- <title>theme library - Dart API</title>
-
- <link rel="preconnect" href="https://fonts.gstatic.com">
- <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">
- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
- <link rel="stylesheet" href="../static-assets/github.css">
- <link rel="stylesheet" href="../static-assets/styles.css">
- <link rel="icon" href="../static-assets/favicon.png">
- </head>
- <body data-base-href="../"
- data-using-base-href="false">
- <div id="overlay-under-drawer"></div>
- <header id="title">
- <button id="sidenav-left-toggle" type="button"> </button>
- <ol class="breadcrumbs gt-separated dark hidden-xs">
- <li><a href="../index.html">trpp</a></li>
- <li class="self-crumb">theme library</li>
- </ol>
- <div class="self-name">theme</div>
- <form class="search navbar-right" role="search">
- <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
- </form>
- </header>
- <main>
- <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
- <header id="header-search-sidebar" class="hidden-l">
- <form class="search-sidebar" role="search">
- <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
- </form>
- </header>
-
- <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
- <li><a href="../index.html">trpp</a></li>
- <li class="self-crumb">theme library</li>
- </ol>
-
- <h5><span class="package-name">trpp</span> <span class="package-kind">package</span></h5>
- <ol>
- <li class="section-title">Libraries</li>
- <li><a href="../widgets_custom_alert_dialog/widgets_custom_alert_dialog-library.html">custom_alert_dialog</a></li>
- <li><a href="../data_data/data_data-library.html">data</a></li>
- <li><a href="../screens_home/screens_home-library.html">home</a></li>
- <li><a href="../main/main-library.html">main</a></li>
- <li><a href="../screens_note/screens_note-library.html">note</a></li>
- <li><a href="../widgets_popup_dialog/widgets_popup_dialog-library.html">popup_dialog</a></li>
- <li><a href="../screens_settings/screens_settings-library.html">settings</a></li>
- <li><a href="../data_theme/data_theme-library.html">theme</a></li>
- <li><a href="../widgets_toolbar/widgets_toolbar-library.html">toolbar</a></li>
- </ol>
- </div>
- <div id="dartdoc-main-content" class="main-content">
- <div><h1><span class="kind-library">theme</span> library </h1></div>
-
- <section class="summary offset-anchor" id="classes">
- <h2>Classes</h2>
- <dl>
- <dt id="TupleTheme">
- <span class="name "><a href="../data_theme/TupleTheme-class.html">TupleTheme</a></span>
- </dt>
- <dd>
- Stores themeData and it's name
- </dd>
- </dl>
- </section>
- <section class="summary offset-anchor" id="properties">
- <h2>Properties</h2>
- <dl class="properties">
- <dt id="appThemeDarkBlue" class="property">
- <span class="name"><a href="../data_theme/appThemeDarkBlue.html">appThemeDarkBlue</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeDarkGreen" class="property">
- <span class="name"><a href="../data_theme/appThemeDarkGreen.html">appThemeDarkGreen</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeDarkPurple" class="property">
- <span class="name"><a href="../data_theme/appThemeDarkPurple.html">appThemeDarkPurple</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeDarkRed" class="property">
- <span class="name"><a href="../data_theme/appThemeDarkRed.html">appThemeDarkRed</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeDarkYellow" class="property">
- <span class="name"><a href="../data_theme/appThemeDarkYellow.html">appThemeDarkYellow</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeLightBlue" class="property">
- <span class="name"><a href="../data_theme/appThemeLightBlue.html">appThemeLightBlue</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeLightGreen" class="property">
- <span class="name"><a href="../data_theme/appThemeLightGreen.html">appThemeLightGreen</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeLightPurple" class="property">
- <span class="name"><a href="../data_theme/appThemeLightPurple.html">appThemeLightPurple</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeLightRed" class="property">
- <span class="name"><a href="../data_theme/appThemeLightRed.html">appThemeLightRed</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="appThemeLightYellow" class="property">
- <span class="name"><a href="../data_theme/appThemeLightYellow.html">appThemeLightYellow</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="background" class="property">
- <span class="name"><a href="../data_theme/background.html">background</a></span>
- <span class="signature">↔ <a href="https://api.flutter.dev/flutter/dart-ui/Color-class.html">Color</a></span>
- </dt>
- <dd>
-
- <div class="features">read / write</div>
- </dd>
- <dt id="cyberpunkTheme" class="property">
- <span class="name"><a href="../data_theme/cyberpunkTheme.html">cyberpunkTheme</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="defaultTheme" class="property">
- <span class="name"><a href="../data_theme/defaultTheme.html">defaultTheme</a></span>
- <span class="signature">→ <a href="../data_theme/TupleTheme-class.html">TupleTheme</a></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- <dt id="foreground" class="property">
- <span class="name"><a href="../data_theme/foreground.html">foreground</a></span>
- <span class="signature">↔ <a href="https://api.flutter.dev/flutter/dart-ui/Color-class.html">Color</a></span>
- </dt>
- <dd>
-
- <div class="features">read / write</div>
- </dd>
- <dt id="ThemeNames" class="property">
- <span class="name"><a href="../data_theme/ThemeNames.html">ThemeNames</a></span>
- <span class="signature">→ <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../data_theme/TupleTheme-class.html">TupleTheme</a></span>></span></span>
- </dt>
- <dd>
-
- <div class="features">final</div>
- </dd>
- </dl>
- </section>
- <section class="summary offset-anchor" id="functions">
- <h2>Functions</h2>
- <dl class="callables">
- <dt id="generateTheme" class="callable">
- <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>)
- <span class="returntype parameter">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </span>
- </dt>
- <dd>
- Returns constant theme
-
- </dd>
- <dt id="getCurrentTheme" class="callable">
- <span class="name"><a href="../data_theme/getCurrentTheme.html">getCurrentTheme</a></span><span class="signature">(<wbr>)
- <span class="returntype parameter">→ <a href="https://api.flutter.dev/flutter/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter"><a href="../data_theme/TupleTheme-class.html">TupleTheme</a></span>></span></span>
- </span>
- </dt>
- <dd>
- Returns name of current theme
-
- </dd>
- <dt id="getThemeByName" class="callable">
- <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>)
- <span class="returntype parameter">→ <a href="https://api.flutter.dev/flutter/material/ThemeData-class.html">ThemeData</a></span>
- </span>
- </dt>
- <dd>
- Returns themeData by name
-
- </dd>
- </dl>
- </section>
- </div> <!-- /.main-content -->
- <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
- <h5>theme library</h5>
- <ol>
- <li class="section-title"><a href="../data_theme/data_theme-library.html#classes">Classes</a></li>
- <li><a href="../data_theme/TupleTheme-class.html">TupleTheme</a></li>
- <li class="section-title"><a href="../data_theme/data_theme-library.html#properties">Properties</a></li>
- <li><a href="../data_theme/appThemeDarkBlue.html">appThemeDarkBlue</a></li>
- <li><a href="../data_theme/appThemeDarkGreen.html">appThemeDarkGreen</a></li>
- <li><a href="../data_theme/appThemeDarkPurple.html">appThemeDarkPurple</a></li>
- <li><a href="../data_theme/appThemeDarkRed.html">appThemeDarkRed</a></li>
- <li><a href="../data_theme/appThemeDarkYellow.html">appThemeDarkYellow</a></li>
- <li><a href="../data_theme/appThemeLightBlue.html">appThemeLightBlue</a></li>
- <li><a href="../data_theme/appThemeLightGreen.html">appThemeLightGreen</a></li>
- <li><a href="../data_theme/appThemeLightPurple.html">appThemeLightPurple</a></li>
- <li><a href="../data_theme/appThemeLightRed.html">appThemeLightRed</a></li>
- <li><a href="../data_theme/appThemeLightYellow.html">appThemeLightYellow</a></li>
- <li><a href="../data_theme/background.html">background</a></li>
- <li><a href="../data_theme/cyberpunkTheme.html">cyberpunkTheme</a></li>
- <li><a href="../data_theme/defaultTheme.html">defaultTheme</a></li>
- <li><a href="../data_theme/foreground.html">foreground</a></li>
- <li><a href="../data_theme/ThemeNames.html">ThemeNames</a></li>
- <li class="section-title"><a href="../data_theme/data_theme-library.html#functions">Functions</a></li>
- <li><a href="../data_theme/generateTheme.html">generateTheme</a></li>
- <li><a href="../data_theme/getCurrentTheme.html">getCurrentTheme</a></li>
- <li><a href="../data_theme/getThemeByName.html">getThemeByName</a></li>
- </ol>
- </div><!--/sidebar-offcanvas-right-->
- </main>
- <footer>
- <span class="no-break">
- trpp
- 2.0.0+2
- </span>
- </footer>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script src="../static-assets/typeahead.bundle.min.js"></script>
- <script src="../static-assets/highlight.pack.js"></script>
- <script src="../static-assets/script.js"></script>
- </body>
- </html>
|