mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
We're not actively developing these at the moment. I could also just delete them, not sure if we're ready for that yet. TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/999873002
33 lines
661 B
Plaintext
33 lines
661 B
Plaintext
<!--
|
|
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
-->
|
|
<import src="shadow.sky" as="shadow" />
|
|
<import src="sky-element.sky" />
|
|
|
|
<sky-element attributes="level:number">
|
|
<template>
|
|
<style>
|
|
:host {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 56px;
|
|
}
|
|
</style>
|
|
<content />
|
|
</template>
|
|
<script>
|
|
import "dart:sky";
|
|
|
|
@Tagname('sky-toolbar')
|
|
class SkyToolbar extends SkyElement {
|
|
void shadowRootReady() {
|
|
shadow.applyTo(shadowRoot);
|
|
}
|
|
}
|
|
|
|
_init(script) => register(script, SkyToolbar);
|
|
</script>
|
|
</sky-element>
|