본문 바로가기

Dev/Flutter63

Flutter 다국어 지원 - Localization Flutter 다국어 지원, Flutter Localization 등으로 검색하면 많은 자료가 나옵니다. 참고자료 1. 기본적으로 참고해야하는 자료는 공식 문서 - https://docs.flutter.dev/development/accessibility-and-localization/internationalization 하지만 영어가 익숙하지 않다보니 공식문서만 보면 이해가 잘 되지 않아서 다른 한글 자료 및 영상 자료를 추가로 참고. 2. 유튜브 영상 - https://youtu.be/Zw4KoorVxgg 상세하게 순서 등 다 나오다보니 감사하게 공식 문서와 함께 참고. 다국어 지원 절차 1. 라이브러리 추가 - pubspec.yaml 파일에 추가 a. dependencies 에 flutter_loc.. 2022. 4. 22.
Flutter iOS 개발시 주의할 사항 Simulator 사용 (에뮬레이터) Flutter 로 iOS 개발할때 Simulator 에 빌드해서 앱을 설치하고 확인합니다. iOS Simulator 는 macOS 에서만 사용할 수 있는 가상 디바이스(Xcode 필요) 빌드모드 설명 Flutter의 빌드 모드 기본적으로는 디버그(Debug) 모드 로 빌드를 진행하지만, 외부 테스트 및 앱스토어 등록을 위해서 프로파일(Profile) 혹은 릴리즈(Release) 모드로 빌드를 진행합니다. 디버그 모드로 빌드한 경우에는 앱이 Simualtor 에 설치가 가능하지만 프로파일, 릴리즈 모드로 빌드한 경우에는 Simulator 에 설치가 불가능합니다. 즉, 프로파일, 릴리즈 버전으로 빌드한 경우에는 실제 디바이스를 연결해서 앱을 설치해야 합니다. 빌드모드 S.. 2022. 4. 14.
VSCode 로 개발할때, 빌드모드 변경하는 방법 Flutter 앱을 만들때, VSCode IDE로 개발하고 있으며, 여기서 빌드 모드를 변경하는 방법 1. Run and Debug 에서 상단에 패키지 명 클릭 2. 빌드 모드 선택 기본 모드가 Debug 모드 이고 profile mode 가 적힌게 Profile 모드 이다. 2022. 3. 23.
Flutter - Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. 내용 : Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. 해결책 1. Go to /ios folder inside your Project. 2. Delete Podfile.lock (YourPoject/ios/Podfile.lock) 3. Here you have to do it according to the chip of your Mac, here I have given for both. thanks @Kamal Panara for identified this For Intel chip users Run pod install --repo-update (Make sure your cd into the iOS d.. 2022. 2. 8.
Flutter - error Unable to install /Users/hoon/AndroidStudioProjects/medication_manage/build/ios/iphonesimulator/Runner.app on 83A2E900-4206-4EFD-A263-0B5E1D56AF8A. This is sometimes caused by a malformed plist file: ProcessException: Process exited abnormally: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22): Failed to install the requested application The bundle identifier o.. 2022. 1. 19.
Flutter - TextField Flutter TextFiled Cursor 위치시키는 방법 var _controller = TextEditingController(); _controller.selection = TextSelection.fromPosition(TextPosition(offset: controller.text.length)); ... TextField( controller: _controller, ... ) 위의 코드는 TextFiled 의 맨 마지막에 Cursor 를 위치시키는 방법 2022. 1. 19.