blob: 93c5b2c89a8bfd4155dbbfaab18342ef860c48a2 [file] [log] [blame]
</div> <!-- container -->
<footer>
<div class="container-fluid">
<div class="container">
<p class="text-center">
<span class="copyright no-break">{{package.name}} {{package.version}}</span>
&bull;
<span class="copyright no-break">
<a href="https://www.dartlang.org"><img src="static-assets/favicon.png" alt="Dart" title="Dart"
width="24" height="24"></a> API Docs
</span>
&bull;
<span class="copyright no-break">
<a href="http://creativecommons.org/licenses/by-sa/4.0/">cc license</a>
</span>
</p>
</div>
</div>
</footer>
<script src="static-assets/prettify.js"></script>
<script>
// Adds a shadow for the top nav when the masthead is scrolled off the top.
function initScroller() {
window.addEventListener('scroll', function(e){
var header = document.querySelector("header");
if (header) {
var position = window.pageYOffset || document.documentElement.scrollTop;
if (position >= 136) {
header.classList.add("header-fixed");
} else if (header.classList.contains("header-fixed")) {
header.classList.remove("header-fixed");
}
}
});
}
function initSideNav() {
var button = document.getElementById('sidenav-toggle');
if (button) {
button.addEventListener('click', function(e) {
var elems = document.querySelectorAll('.row-offcanvas');
for (var i = 0; i < elems.length; i++) {
elems[i].classList.toggle('active');
}
});
}
}
// Make sure the anchors scroll past the fixed page header (#648).
function shiftWindow() {
scrollBy(0, -68);
}
document.addEventListener("DOMContentLoaded", function() {
prettyPrint();
initScroller();
initSideNav();
// Make sure the anchors scroll past the fixed page header (#648).
if (location.hash) shiftWindow();
window.addEventListener("hashchange", shiftWindow);
});
</script>
<!-- Do not remove placeholder -->
<!-- Footer Placeholder -->
</body>
</html>