분류 전체보기 385

[GetX] Flutter GetX

GetX - https://pub.dev/packages/get // 시작 MaterialApp을 GetMaterialApp로 변경 MaterialApp => GetMaterialApp(); // 페이지 이동 Get.to(Home()); // 전 페이지로 돌아기지 못하게하기 Get.off(Home()); // 모든 페이지 스택 삭제하기 Get.offAll(Home()); // 뒤로가기 Get.back(); // 리턴값 받아오기 final resp = await Get.to(home()); Get.back(result: value); // 아규먼트 보내기 Get.to(Home(), arguments: 'test'); Get.arguments // 트랜지션 Get.to(Home(), transition: T..

개발/flutter 2021.02.17

[flutter] 생명주기

1. createState() : Framework가 StatefulWidget을 만들경우 createState() 가 즉시 호출된다. 2. initState() : widget이 만들어지고 생성자 후에 처음 메소드 실행할때 이 함수가 실행된다. (super.initState() 필수) 3. didChangeDependencies() : 이 함수는 initState를 호출한 뒤에 실행된다. 또한 이 위젯은 데이터에 의존하는 객체가 호출될 때마다 호출됩니다. InheritedWidget 에 의존하는 경우 업데이틀 합니다. 4. build() : 필수적으로 오버라이딩해서 구현해야되는 함수이다. 위젯을 리턴한다. 5. didUpdateWidget() : 만약 부모 위젯이 업데이트가 되거나 이 위젯이 다시 만들..

개발/flutter 2020.01.09

[flutter] 플러터 링크 모음

패키지 생성 flutter create --org com.test [project_name] 인스톨 flutter pub get 초기화 flutter clean build시 스트리밍 동영상이 안되는 경우 Android 9 이상 https 이슈 처리 android:usesCleartextTraffic="true" https://youngest-programming.tistory.com/19 [안드로이드] http 프로토콜 접속시 clearText관련 에러사항 처리 ( Cleartext Http Traffic ) 네트워킹 http 프로토콜에 접속하는 작업을 할 경우 Cleartext Http Traffic이라는 에러가 뜨는 경우가 있다. 이것은 안드로이드 API 28레벨부터 네트워크 보안정책때문에 생기는 오..

개발/flutter 2020.01.06

웹 서비스 구현 무료 제작툴 모음

기획 http://trello.com/ https://www.notion.so/ . 디자인 https://www.figma.com/ . 사진 https://unsplash.com . 코드 에디터 https://code.visualstudio.com/ . CSS 라이브러리 https://tailwindcss.com https://bulma.io . 깃 저장소 https://github.com/ https://about.gitlab.com/ https://bitbucket.org/product . 클라이언트 https://insomnia.rest (REST) https://altair.sirmuel.design (GraphQL) . 검색엔진 https://www.algolia.com . 유저 비밀번호 관리 ..

개발 2019.10.22

[react-native] 오류 : Unable to load script. Make sure youre dither running a Metro server...

react-native 최초 설치 후 안드로이드 스튜디오로 실행할 경우 위와 같은 오류 발생할때 1. [패키지명]/android/app/src/main/assets 폴더가 있는지 확인하고 없으면 생성 2. [패키지명]/android 폴더에서 ./gradlew clean 실행 3. [패키지명] 폴더에서 아래 명령어 실행 react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res 4. react-native run-android 참고 https://dev..

개발/react-native 2019.07.18