Skip to content

chapter 05 281p에서 막혔습니다 #5

Description

@kjymonster

책과 동일하게 작성하였으나 Inkwelld의 onTap코드 작성 시 info: info[cityList[index]!] as List이라고 작성해야 하는데
info라는 변수는 생성한 적이 없기에
깃허브에 올려주신 완성된 full code를 보니 Map<String, dynamic> info = {};이 선언되어 있길래 선언했습니다.

그럼에도 불구하고 지역명 클릭 시 type 'Null' is not a subtype of type 'List' 라는 에러가 발생합니다만,
책에서는 언급이 없어 문의 드립니다..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions