커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
1-7 로켓이미지 붙이기 부분입니다. 도움 부탁드려요
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반 v0
1주차
북마크
양*현
댓글
16
추천
0
조회수
28
조회수
28
답변 완료
 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: Scaffold(
        appBar: AppBar(
          centerTitle: true,
          title: Text(
            "Hello Flutter",
            style: TextStyle(fontSize: 28),
          ),
        ),
        body: Padding(
          padding: const EdgeInsets.all(16),
          child: Column(
            children: [
              Image.network("https://i.ibb.co/nngK6j3/startup.png"),
              TextField(
                decoration: InputDecoration(
                  labelText: "이메일",
                ),
              ),
              TextField(
                obscureText: true,
                decoration: InputDecoration(
                  labelText: "비밀번호",
                ),
              ),
              Container(
                width: double.infinity,
                margin: EdgeInsets.only(top: 24),
                child: ElevatedButton(
                  onPressed: () {},
                  child: Text("로그인"),
                ),
              )
            ],
          ),
        ),
      ),
    );
  }
}


 

1. 26번째 줄에 아래와 같이 `Image.network` 위젯을 추가해주세요


로켓이미지 주소를 복사해서 붙여넣었는데 그림이 안뜹니다.


어디가 잘못된건지 모르겠어요..


도움 부탁드립니다..










취소
 공유
취소
댓글 0
댓글 알림
나의얼굴