mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Also, move a widget example from examples/raw/ to examples/widgets/ R=abarth@chromium.org Review URL: https://codereview.chromium.org/1190793002.
24 lines
596 B
Dart
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)
|
|
);
|
|
}
|
|
}
|