
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
1주차 과제를 진행하고 있으나 어디서부터 어떻게 건들여야할지 감이 오지 않아서 문의를 남깁니다.
현재
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: HomePage(), // 홈페이지 보여주기
);
}
}
class HomePage extends StatelessWidget {
const HomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
// 음식 사진 데이터
List<Map<String, dynamic>> dataList = [
{
"category": "탑건: 매버릭",
"imgUrl": "https://i.ibb.co/sR32PN3/topgun.jpg",
},
{
"category": "마녀2",
"imgUrl": "https://i.ibb.co/CKMrv91/The-Witch.jpg",
},
{
"category": "범죄도시2",
"imgUrl": "https://i.ibb.co/2czdVdm/The-Outlaws.jpg",
},
{
"category": "헤어질 결심",
"imgUrl": "https://i.ibb.co/gM394CV/Decision-to-Leave.jpg",
},
{
"category": "브로커",
"imgUrl": "https://i.ibb.co/MSy1XNB/broker.jpg",
},
{
"category": "문폴",
"imgUrl": "https://i.ibb.co/4JYHHtc/Moonfall.jpg",
},
];
// 화면에 보이는 영역
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
actions: [Icon(Icons.people_outlined, color: Colors.black)],
title: Text("Movie Reviews"),
titleTextStyle: TextStyle(color: Colors.black, fontSize: 28),
),
body: Column(
children: [],
),
);
}
}
이렇게까지 작성은 했으나 정보를 찾아보더라도 대부분의 정보나 코딩방식이 전부 달라서 어떻게 대입해야할지 감이 안옵니다.
혹여나 이번 과제를 진행할 때 모범답안이 있긴하지만 그걸 대부분 그대로 따라오기에는 공부에 도움이 되지 않을 것 같고,
만일 일정이 부족하여 제대로 완성되지 못한 상태라면 과제는 어떻게 해야하는지도 문의 드립니다.
