| Index: sky/examples/fn/widgets/toolbar.dart
|
| diff --git a/sky/examples/fn/widgets/toolbar.dart b/sky/examples/fn/widgets/toolbar.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..72cbcdf9e91ba8413c1d2c9e0e21f8bef7d43d33
|
| --- /dev/null
|
| +++ b/sky/examples/fn/widgets/toolbar.dart
|
| @@ -0,0 +1,25 @@
|
| +part of widgets;
|
| +
|
| +class Toolbar extends Component {
|
| +
|
| + List<Node> children;
|
| +
|
| + static Style _style = new Style('''
|
| + display: flex;
|
| + align-items: center;
|
| + height: 84px;
|
| + z-index: 1;
|
| + background-color: #3F51B5;
|
| + color: white;
|
| + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);'''
|
| + );
|
| +
|
| + Toolbar({String key, this.children}) : super(key: key);
|
| +
|
| + Node render() {
|
| + return new Container(
|
| + style: _style,
|
| + children: children
|
| + );
|
| + }
|
| +}
|
|
|