일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- wrap
- 라이언
- react
- 플러터
- TextField
- sqflite
- Android
- 간단리뷰
- datetime
- ios
- 춘식
- AppleSilicon
- visualstudiocode
- 데스크셋업
- Flutter
- M1
- list
- swift
- VSCode
- GetX
- GitHub
- xcode
- AppBar
- 내돈내산
- error
- 데스크테리어
- listview
- Git
- 카카오
- database
- Today
- Total
목록전체 글 (65)
welcome to my blog
분명히 Controller도 binding 시켜주고 obs 선언도 해주었는데 값을 바꾸었을때 연결된 UI가 업데이트가 안되는거다!! 며칠간 삽질했는데 어이없게도 상위위젯을 GetX로 감싸주지않아서 안됐었음..hahahahahahahaahaaaaaa 수정해주니 잘 된다. 원래 소스 : title : Text(widget.itemText, style: widget.isChecked? TextStyle( decoration: TextDecoration.lineThrough, color: Colors.grey, fontSize: controller.fontSize.value.toDouble()) : TextStyle(fontSize: controller.fontSize.value.toDouble()))) 수정된..
해당 프로젝트의 터미널에서 위의 과정대로 해주면 됨. 근데 push 하는 과정에서 Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.~~~ 하는 에러가 발생하여 키체인을 모두 삭제한다음 다시 등록해주니 push되었다. 참고 블로그 : https://hyeo-noo.tistory.com/184 repository 공유 github homepage에서 프로젝트 -> setting -> manage access -> user name 검색 -> 등록
main 함수에서 database 셋팅을 먼저 해주고 runApp이 실행되는데 'Null check operator used on a null value'라는 에러가 계속 발생 main 함수 제일 상위에 다음 코드 작성해주었더니 제대로 동작함 WidgetsFlutterBinding.ensureInitialized(); +) 위와같이 했는데도 같은 에러가난다면, binding이 제대로 되었는지 확인해볼것 한쪽에 binding 옵션을 주지 않았더니 같은 에러가 발생했었음 옵션 주지 않고 사용하는 방법이 있는지 확인 필요-> +)바인딩 안해도 사용할 수 있음(GetBuilder 사용하지 않는 위젯은 상관없었음) 참고 : Null Check operator used on a null value on flutte..
에러 : [Get] the improper use of a GetX has been detected. You should only use GetX or Obx for the specific widget that will be updated. If you are seeing this error, you probably did not insert any observable variables into GetX/Obx or insert them outside the scope that GetX considers suitable for an update (example: GetX => HeavyWidget => variableObservable). If you need to update a parent widge..
혼자서 간단하게 테스트코드를 작성할때는 로컬에 저장 git init git add . 두번째 체크표시 (commit) 코멘트 남기고 커밋! 코드 작성하다가 다시 이전버전으로 돌리고싶다면 커밋버튼 -> dart file 우클릭 -> Rollback...
enum enum Device : String { case first = "galaxy" case second = "iphone" } let DeviceDevice = Device.second print("DeviceDevice : \(DeviceDevice)") //DeviceDevice : second print("DeviceDevice : \(DeviceDevice.rawValue)") //DeviceDevice : iphone enum의 값을 알고싶다면 .rawValue 로 접근 enum Market { case fish(name:String) case fruit(name:String) case smartphone(name:String) func getName() -> String { switch..