I'm having unknown exception thrown when I run the app on emulator :
The _ScaffoldLayout custom multichild layout delegate forgot to lay out the following child:
I'm using Flutter 1.0.0
and Dart 2.1.0
I tried to look up on google but couldn't find the solution.
Here is my code :
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Text Input Example"),
),
body: Column(
children: <Widget>[
Align(
alignment: Alignment.bottomCenter,
child: Flexible(
child: TextField(
style: TextStyle(
color: Colors.black,
fontSize: 16.0
),
),
),
)
],
),
);
}
Got the same error while trying to hot-reload or hot-restart my app. Cold restarting it (stop then start again) fixed it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With