blob: 49ff66a70e702c283840cde7911e53e4c7a04d2c [file] [log] [blame]
// Copyright 2015 The Vanadium 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:sky/widgets.dart';
List<Widget> flexChildren(List<Widget> children) {
List<Widget> flexWidgets = new List<Widget>();
children.forEach(
(child) => flexWidgets.add(new Flexible(child: child)));
return flexWidgets;
}