flutter_in_action_2nd
flutter_in_action_2nd copied to clipboard
2.2.4 StatelessWidget 代码疑惑
你好,我在学习的过程中,发现在2.2.4 StatelessWidget中,显示Echo这个widget,书中的代码是
Widget build(BuildContext context) {
return Echo(text: "hello world");
}
但是这样子不是就没有了"AppBar"这些元素了,是不是缺了哪些上下文?