flutter_flutter/sdk/lib/widgets/menu_divider.dart
Hixie 350f16c93e Rename UINode to Widget.
Also, move a widget example from examples/raw/ to examples/widgets/

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1190793002.
2015-06-16 11:09:16 -07:00

24 lines
596 B
Dart

// 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 'basic.dart';
class MenuDivider extends Component {
MenuDivider({ String key }) : super(key: key);
Widget build() {
return new Container(
height: 0.0,
decoration: const BoxDecoration(
border: const Border(
bottom: const BorderSide(
color: const Color.fromARGB(31, 0, 0, 0)
)
)
),
margin: const EdgeDims.symmetric(vertical: 8.0)
);
}
}