[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "com.byjun0302.flutter_blogweb_app" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutterVersionCode.toInteger() versionName = flutterVersionName } 제 build.gradle 의 defaultConfig 에는 minSdk 적는 부분이 이렇게 나와있는데 뭔가 바뀐 것 같아 질문드립니다
[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안녕하세요.. 쌤 강의를 열심히 듣고 공부하고 있는 플러터 초보입니다. 제가 완전 초보라서 그런지 에러가 뜨면 어떻게 고쳐야 할지 모르겠어요 ㅠㅠ 이미 망해서.. 손 놓고 쌤 강의 마저 듣고 이번 프로젝트는 마무리 하려고 합니다. 해결 방법을 아예 모르겠어요. 현 상황을 설명해 드릴게요. 캘린더_스케쥴러 강의 막바지에 발생했습니다. 이전 강의는 모두 잘 따라갔음 <처음 에러가 뜬 시점은 schedulebottomsheet> child: GestureDetector( onTap: () async { await showModalBottomSheet<ScheduleTable>( context: context, builder: (_) { return ScheduleBottomSheet( selectedDay: selectedDay, ); }, ); <아래의 에러 메시지도 함께 떴는데, 해결 방법을 몰라 귿대로 코딩 진행함> lib/screen/home_screen.dart:144:63: Error: Required named parameter 'id' must be provided. return ScheduleBottomSheet( ^ lib/component/schedule_bottom_sheet.dart:14:9: Context: Found this candidate, but the arguments don't match. const ScheduleBottomSheet({ ^^^^^^^^^^^^^^^^^^^ <결국 아래처럼 에러 메시지가 쌓여서 손을 놓게 됨> lib/screen/home_screen.dart:144:63: Error: Required named parameter 'id' must be provided. return ScheduleBottomSheet( ^ lib/component/schedule_bottom_sheet.dart:14:9: Context: Found this candidate, but the arguments don't match. const ScheduleBottomSheet({ ^^^^^^^^^^^^^^^^^^^ lib/screen/home_screen.dart:65:21: Error: The getter 'schedule' isn't defined for the class '_HomeScreenState'. - '_HomeScreenState' is from 'package:calendar_scheduler/screen/home_screen.dart' ('lib/screen/home_screen.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'schedule'. id: schedule.id, ^^^^^^^^ lib/component/schedule_bottom_sheet.dart:41:61: Error: The getter 'waiting' isn't defined for the class 'ConnectionState'. - 'ConnectionState' is from 'package:flutter/src/widgets/async.dart' ('../../flutter_windows_3.22.2-stable/flutter/packages/flutter/lib/src/widgets/async.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'waiting'. if (widget.id != null && snapshot.connectionState.waiting) { ^^^^^^^ lib/component/schedule_bottom_sheet.dart:43:22: Error: The argument type 'Type' can't be assigned to the parameter type 'Widget?'. - 'Type' is from 'dart:core'. - 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('../../flutter_windows_3.22.2-stable/flutter/packages/flutter/lib/src/widgets/framework.dart'). child: CircularProgressIndicator, ^ lib/component/schedule_bottom_sheet.dart:220:17: Error: No named parameter with the name 'initialValue'. initialValue: startTimeInitValue, ^^^^^^^^^^^^ lib/component/custom_text_field.dart:10:9: Context: Found this candidate, but the arguments don't match. const CustomTextField({ ^^^^^^^^^^^^^^^ lib/component/schedule_bottom_sheet.dart:229:17: Error: No named parameter with the name 'initialValue'. initialValue: endTimeInitValue, ^^^^^^^^^^^^ lib/component/custom_text_field.dart:10:9: Context: Found this candidate, but the arguments don't match. const CustomTextField({ ^^^^^^^^^^^^^^^ lib/component/schedule_bottom_sheet.dart:259:9: Error: No named parameter with the name 'initialValue'. initialValue: initialValue, ^^^^^^^^^^^^ lib/component/custom_text_field.dart:10:9: Context: Found this candidate, but the arguments don't match. const CustomTextField({ ^^^^^^^^^^^^^^^ 요약 <캘린더 스케쥴러 - 기존 일정 업데이트하는 기능 만들기 강의> 초반부에서 제가 키를 잘못 눌렀는지, ScheduleBottomSheet에 밑줄이 그어졌어요. 근데 그냥 무시하고 강의를 들으면서 쭉 코딩을 해서 오류 메시지가 쌓인 것입니당 이때 느낀게, 코드가 한 번 꼬이면 뒤까지 모두 지장을 주는 구나라는 것을 알게 되었어요. 만약 초보인 제가 코드 에러를 마주했을 때 어떤식으로 해결을 해야하는 지 알려주실 수 있나요 ?? 스케쥴러에서는 구조가 복잡해 지다 보니 특정 오류나 오타를 잡아 내는 것이 좀 벅차다는 느낌을 받았습니다. 하하.. 아니면 코드가 복잡해 진다 싶으면 챕터별로 나누어서 저장하는 것도 방법인지? 궁금하네요.
안녕하세요 Firebase에서 Ios, Android, web , flutter 앱을 만들수가 있는데요. 만약 세가지 버전을 하고 싶으면 app을 각각 ios, android, web(mobile) 다 따로 만들어야할까요? 혹시 flutter app으로 한번에 할수 있지 않나 해서요! 혹시 flutter app은 firebase에서 왜 따로 있는걸까요?? 오픈 카카오톡 으로 문의주시면 더 빠르게 답변 받으실 수 있어요:)
[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
선생님의 강의 진도를 나가면서 기본기를 계속 복습하고 있지만 제가 머리가 좋지 않아서 질문이 있습니다 TopState 클래스 안에서 selctedDate는 왜 _TopState 함수 아래에 바로 선언하는데 now,textTheme 같은 경우엔 왜 빌드 함수 아래에 선언하는지 모르겠습니다
안녕하세요 랜덤 고양이 좋아요 기능 구현하는 부분을 듣고 있는데요. 모바일 웹을 flutter로 구현해보고자 듣고 있는데 좋아요 기능을 사진을 누르면 되어야하는데 반응이 없더라고요. 클릭했을 경우 print() 문이 있어서 console에는 잘 나오는데요. 사진에 하트 표시가 새로고침이 되지 않아요.. 혹시 이거 구현하려면 모바일 웹에서는 다르게 코드를 작성해야할까요? 오픈 카카오톡 으로 문의주시면 더 빠르게 답변 받으실 수 있어요 :)
[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안녕하세요. 이전에 무료 강의를 잘 보고 이번에 유료강의도 신청하게되었습니다. 다름이 아니라 에뮬레이터 세팅하는 강좌에서 막히는 부분이 있어서 문의 드립니다. 제가 안드로이드를 처음 설치한건 22년도 였고, 플러터는 23년에 처음 접하게 되어서 유투브의 무료강의를 보며 배우고 있었는데 그 당시에는 에뮬도 잘 돌아갔고 문제없이 핫리로드도 잘 되었습니다. 그러나 유투브 강의의 버전과 제가 설치한 버전의 차이로 불편함이 많아지는 와중에 코드팩토리님을 알게되어 이렇게 찾아뵙게 되었습니다. 이번 기회에 안드로이드와 플러터도 업데이트를 했는데.. 에뮬이 뭔가 이상합니다. 사진을 첨부해보겠습니다. 혹시라도 부족한 부분이 있으면 언제든지 말씀해주세요. 보완해서 사진이나 기타 등등 올리겠습니다. 첫번째사진. 이게 왜 계속 뜨는지 모르겠습니다. C:\Users\hy_co\AppData\Local\Android\Sdk 경로로 가서 에뮬을 지우고 다시 깔아봤는데도 좀비처럼 계속 나타납니다...ㅜ 두번째 사진. 핫리로드도 잘되고 괜찮은거 같은데 숫자 카운팅되는 프로그램이 100% 작동되지 않습니다... @ 번외로 드리는 질문 입니다. @ 1. 코드팩토리 디스코드는 운영시간이 있으신가요? 원격조종도 운영시간이 있으신가요? 제가 평일에는 낮에는 일을하고 집에 오면 육아 후에 공부를 할 수 있어서 오후 9시30분 이후에나 컴퓨터를 할 수 있습니다..ㅜ 주말에는 언제나 시간이 가능합니다. 스택오버플로우나 구글링으로 해결해보려 했으나 제가 실력이 부족한 탓에 해결하지 못하였습니다 ㅜ 부디 도와주시면 감사하겠습니다.