커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
문의드립니다
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반 v0
0주차
북마크
조*름
댓글
22
추천
0
조회수
47
조회수
47
답변 완료
스파르타 즉문즉답

로그인 페이지 만들기2 > container/ image & SingleChildScrollView 부분을 진행하고 있는데요

앱시뮬레이션이 적용되지 않습니다

새로고침을 반복하였는데도 적용되지 않아요ㅠ 코드 확인부탁드릴게요~


(아래 코드)

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('로그인'),

                ),

              )

            ],

          ),

        ),

      ),

    );

  }

}





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