-
Notifications
You must be signed in to change notification settings - Fork 606
Open
Labels
area-executiontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Relevant console output
Script error.When did the error happen?
hh
Your Dart code
import 'package:flutter/material.dart';
main() { runApp( MyApp() ); }
class MyApp extends StatelessWidget{
const MyApp({super.key});
@override
Widget build(BuildContext context){
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('Column Example')),
body: _buildColumnWidget(),
),
);
}
Widget _buildColumnWidget() {
return Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget> [
Container(
height: 200,
width: 50,
color: Colors.red,
child: const Center(child: Text("50"),),
),
Container(
height: 200,
width: 100,
color: Colors.green,
child: const Center(child: Text("100"),),
),
Container(
height: 200,
width: 200,
color: Colors.orange,
child: const Center(child: Text("200"),),
),
Container(
height: 200,
width: 500,
color: Colors.blue,
child: const Center(child: Text("1000"),),
),
]
);
}
}What OS did this error occur on?
No response
What browser(s) did this error occur on?
No response
Do you have any additional information?
No response
Metadata
Metadata
Assignees
Labels
area-executiontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)