I've been having this issue recently, When Using
class _LoginPageState extends State<LoginPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
RaisedButton(onPressed: (){}, child: Text('please'),),
RaisedButton(onPressed: (){}, child: Text('center'),)
],
),
);
}
}
Results in the children widgets aligning to the left
screenshot Any help would be appreciated