1. place detail 화면을 추가하자.
여기까지는 이전에 배웠던 기본 방법들로 다 구현했다.
- place_detail.dart
- places_list.dart
1) onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (ctx) => PlaceDetailScreen(place: places[index]),
),
);
},
--> 탭하면 place detail 화면으로 이동 추가
'코딩강의 > favorite_places(플러터-유데미)' 카테고리의 다른 글
~250. Displaying a Location Preview Map Snapshot via Google (0) | 2023.11.20 |
---|---|
~244. Previewing the Picked Image (0) | 2023.11.19 |
~242. Using the Device Camera For Taking Pictures (0) | 2023.11.19 |
~238. Adding Places with Provider & Displaying Places (Challenge Solution 5/6) (0) | 2023.11.16 |
~236. Adding an "Add Place" Screen (Challenge Solution 3/6) (0) | 2023.11.16 |