일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 라이언
- M1
- swift
- Git
- xcode
- VSCode
- AppleSilicon
- Flutter
- list
- ios
- database
- 춘식
- Android
- sqflite
- TextField
- error
- visualstudiocode
- AppBar
- 간단리뷰
- datetime
- GetX
- Mac
- iMac
- react
- 내돈내산
- 플러터
- 카카오
- listview
- wrap
- GitHub
- Today
- Total
목록Flutter (45)
welcome to my blog
Flutter : Could not build the precompiled application for the device. Error launching application on iPhone 라는 에러가 생겼을 경우 flutter pub upgrade flutter clean 해주니까 해결되었다.... ios > Podfile에 post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| # drop deployment target so it works with ios14 config.build_settings.delete 'IPHONEOS_DEPL..
Failed to register observatory port with mDNS with error ios -> Runner -> Info.plist에 NSBonjourServices _dartobservatory._tcp 추가해주면된다. https://docs.flutter.dev/development/add-to-app/ios/project-setup#local-network-privacy-permissions
안드로이드스튜디오 메모리세팅 shift 연속 두번동작 -> memory settings -> IDE max heap size 설정 -> apply -> 재시작 메모리 인디케이터 설정하기 shift 연속 두번동작 -> show memory indicator -> on으로 설정 우측 하단에 메모리 표시가 뜬다
플러터에서 지원하는 테스트 종류는 총 3가지로 단위테스트 위젯테스트 통합테스트 이다. 이번 게시글에서는 1번과 2번을 다루겠다. 참고) 특정 위젯을 찾으려면 find 를 이용한다. ex) find.text('apply'); finder 객체 함수는 (https://api.flutter.dev/flutter/flutter_test/CommonFinders-class.html) 참고 (text, key, icon 등등 으로 위젯을 찾을 수 있음) 1. 단위테스트 test 라이브러리를 종속성에 추가(pubspec.yaml 에 직접 입력 혹은 명령어로 추가) flutter pub add test --dev 기본구조 import 'package:test/test.dart'; import 'package:unit_..
단축키 : ctrl + space 안될때는 키보드 -> 단축키 -> 입력소스 -> '이전 입력 소스 선택 항목' 체크해제
mfc에서 combobox와 같은 기능을 가진 dropdownbutton 정리 String dropdownValue = '1'; List itemList = ['1', '2', '3', '4','5','6','7','8']; DropdownButton( value: dropdownValue, menuMaxHeight: 150, items: itemList.map((String itemText) { return DropdownMenuItem( value: itemText, child: SizedBox( child: Text(itemText)), ); }).toList(), onChanged: (String? newValue) { setState(() { dropdownValue = newValue!; })..