当我try 以下操作时,为什么会出现错误:
Widget build(BuildContext context) {
return const Scaffold(
appBar: AppBar(title: Text("Verify Email")),
body: Text("Needa verify that email dawg @_@"),
);
}
错误:
The constructor being called isn't a const constructor.
Try removing 'const' from the constructor invocation.
为什么AppBar构造函数不是常量?