Commit a7debdc7 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Delete fail.dart (#6699)

I think we must have accidentally checked this in some time.
parent 7e6aa6de
import 'package:flutter/material.dart';
class LimitDemo extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('LimitedBox test')
),
body: new Block(
children: <Widget>[
new LimitedBox(
maxWidth: 100.0,
maxHeight: 100.0,
child: new Container(
decoration: new BoxDecoration(backgroundColor: const Color(0xFF00FF00))
)
)
]
)
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment