asked
Flutter Introduction - Android and iOS Development at Once (with Firebase)
Written on
·
310
0
강의 코드랑 동일하게 쳤는데
The argument type 'Widget' can't be assigned to the parameter type 'PreferredSizeWidget?'.dart(argument_type_not_assignable)
라고 에러메세지가 나옵니다. 어떻게 해야 하나요?
Answer 1
Widget _buildAppBar() 부분을
PrefferedSizeWidget _buildAppBar() 로 바꿔주시면 됩니다.