• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

appBar 오류

21.08.13 14:31 작성 조회수 186

0

강의 코드랑 동일하게 쳤는데

The argument type 'Widget' can't be assigned to the parameter type 'PreferredSizeWidget?'.dart(argument_type_not_assignable)

라고 에러메세지가 나옵니다. 어떻게 해야 하나요?

답변 1

답변을 작성해보세요.

0

Widget _buildAppBar() 부분을

PrefferedSizeWidget _buildAppBar() 로 바꿔주시면 됩니다.