
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` 위젯을 추가해주세요
로켓이미지 주소를 복사해서 붙여넣었는데 그림이 안뜹니다.
어디가 잘못된건지 모르겠어요..
도움 부탁드립니다..
.png)
