-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
Issue by sethladd
Thursday Oct 29, 2015 at 22:28 GMT
Originally opened as https://github.com/flutter/engine/issues/1878
Consider this code:
import 'package:flutter/material.dart';
void main() {
runApp(new MyApp());
}
class MyApp extends StatelessComponent {
Widget build(BuildContext context) {
return new Column([
new Center(child: new Text("first")),
new Center(child: new Text("second")),
new Center(child: new RaisedButton(child: new Text("third")))
], justifyContent: FlexJustifyContent.spaceAround);
}
}
There are no warnings or errors. It launches correctly on the phone (from what I can tell)
Expected: the button is displayed, or some error telling me why this isn't allowed
Actual: I see "first", and "second", but not a button for "third"
If this is not valid code, could we error out with a message, or provide some feedback somehow (even on the screen) that lets the developer know what's wrong?
Thanks!
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.