Git Product home page Git Product logo

biz-flutter-505-2024's Introduction

Flutter & Dart Project

  • flutter 도구를 이용하여 Cros platform 프로젝트 작성
  • Android, IOS, Windows, Web, MacOS, Linux 운영체제에서 작동되늘 프로젝틀 한번의 코딩으로 작성할수 있다.

SDK 설치

  • https://flutter.dev 에서 flutter sdk 다운로드
  • 압축풀기 : c:\dev\flutter 폴더에 압축풀기
  • 시스템 환경변수 pathflutter/bin 폴더 지정해 주기
  • cmd 창에서 flutter 명령 입력하여 확인하기
  • vsCode 터미널 창에서 flutter 명령 입력하여 확인하기

vsCode 확장팩 설치

  • fluuter 검색하여 flutter, fluttere widget snapshot, flutter files도구 설치하기 dart 검색하여 dart lang. 팩 설치확인

flutter 와 Android studio 연결하기

  • flutter doctor
  • Android cmd-line toolchain 설치
  • flutter doctor --android-licenses

문제 발생하면

  • dart pub cache repair.
  • dart pub cache clean.

Flutter 프로젝트 생성

  • Flutter 프로젝트는 vscode 에 생성하는 명령이 있다.
  • vscode를 사용하여 프로젝트를 생성하면 개별폴더로 프로젝트가 open 된다.
  • cmd, shell 명령으로 프로젝트를 생성한다
  • 생성하는 명령 : flutter create --org=com.callor [project name]

Flutter 프로젝트를 작성하는 과정에서 upgrade

  • flutter 도구 upgrade
flutter pub upgrade outdated
flutter pub upgrade --major-versisons
flutter clean
flutter get
  • upgrade 과정에서 문제가 발생하는 경우 : 특히 flutter clean에 많이 오류가 발생한다.
  • flutter pub cache repair 를 실행하고 flutter clean 를 실행
  • 프로젝트 폴더의 build폴더를 삭제하고flutter clean` 를 실행

Template 이 없는 기본 구조의 프로젝트 생성

flutter create --org=com.callor hello -e

git repository clone 한 프로젝트

  • 각 프로젝트 폴더에서 : flutter pub get 실행하기
  • 오류가 발생하면 : flutter clean 실행 후 flutter pub get

biz-flutter-505-2024's People

Contributors

callor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.