| // Copyright 2019 The Fuchsia 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 'package:flutter/widgets.dart' hide Intent; |
| |
| /// White box grouping |
| class Grouping extends StatelessWidget { |
| /// The children in this grouping |
| final List<Widget> children; |
| |
| /// Construct Grouping |
| const Grouping({this.children}); |
| |
| @override |
| Widget build(BuildContext context) { |
| return Container( |
| color: Color(0xFFFFFFFF), |
| margin: EdgeInsets.all(10.0), |
| padding: EdgeInsets.all(10.0), |
| child: Column( |
| mainAxisAlignment: MainAxisAlignment.center, |
| children: children, |
| ), |
| ); |
| } |
| } |