class MyAppBar extends StatelessWidget {
MyAppBar({this.title});
报错 改为
class MyAppbar extends StatelessWidget {
MyAppbar({required this.title});
class MyAppBar extends StatelessWidget {
MyAppBar({this.title});
报错 改为
class MyAppbar extends StatelessWidget {
MyAppbar({required this.title});