묻고 답해요
161만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨Supabase, Next 풀 스택 시작하기 (feat. 슈파베이스 OAuth, nextjs 14)
화면이 안보여요
5강까지는 문제없이 보였는데6강부터 수파베이스 관련된 마지막 강의까지 화면이 검정색으로 아무것도 안보이는데 혹시 저만그런건가요?? 이런적이 처음이라 어떻게 해야할지 모르겠어요 수파베이스 다음 강의부터는 또 잘 나오는거 같아요 지금 그냥 건너뛰고 뒤에 강의 듣고있는데 또 비슷한 현상이 나타나네요 ;;;;;;;; 화면이 까맣게 안나오고 목소리만 들려요,,,
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
웹뷰컨트롤러 위젯 사용 내 코드에 const 불가 관련 문의
안녕하세요!하기 코드 중에서 WebViewController는 const생성자가 존재하기 않기 때문에, HomeScreen앞에 const를 지워야 오류가 해결된다고 해주셨는데요, 두 코드는 각 다른 줄로 서로 영향을 미치지 않아보이는데, 한 코드에서 다른 코드에 영향을 주는 구조일까요? class HomeScreen extends StatelessWidget {WebViewController controller = WebViewController()Const HomeScreen({super.key});
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
import 'package:webview_flutter/webview_flutter.dart' 질문
안녕하세요,WebView 초기화하기 강의에서, 질문이 있습니다. home_screen.dart에서, import 'package:webview_flutter/webview_flutter.dart'를 진행하면서 설명해주실 때 import 'package:webview_flutter/main.dart'를 상기 코드로 바꾸셨는데요, main.dart파일이 webview_flutter.dart인 것인가요?그냥 코드를 main.dart로 두면 에러가 납니다.왜 main.dart가 webview_flutter.dart인지요? flutter를 뒤에 꼭 붙여야할까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안드로이드 스튜디오 설정 질문
settings - Language & Frameworks 로 들어가면두 가지 (Android SDK, Kotlin) 이렇게 밖에 안 나오는데, 이것이 문제가 될까요? new flutter project를 할 때, Android language만 뜨고 Ios는 안떠서 swift를 체크하고 넘어갈 수가 없습니다. 도와주세요
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
플러터 ui guide 안보이는 현상
섹션5에서는 코드팩토리님도 ui guide가 안보였는데(위젯 계층간의 연결선) 섹션7부터는 보이네요. 저는 ui guide가 안보이는데 어떻게 해결해야할까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
fold 예시 오류
void main() { List<String> words = [ '안녕하세요 ', '저는 ', '코드팩토리입니다.', ]; final sentence = words.fold<String>('', (prev + next) => prev + next); print(sentence);} 이렇게 똑같이 작성을 했는데, 오류가 뜨는 이유가 뭘까요?The argument type 'String Function(String)' can't be assigned to the parameter type 'String Function(String, String)'. Expected to find ')'.Undefined name 'next'.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
클래스 문의
미세먼지 강의에서 클래스를 인스턴스로 만들지 않고 ,변수를 직접사용하는 부분이 이해가 안됩니다.클래스를 인스터스화 하지않고 , 직접변수를 사용이 가능한가요? (static을 사용하면 변수를 직접사용 가능한것은 알고 있습니다. )class StatusModel { final int level; final String label; final Color primaryColor; final Color darkColor; final Color lightColor; final Color detailFontColor; final String imagePath; final String comment; final double minFineDust; final double minUltraFineDust; final double minO3; final double minNO2; final double minCO; final double minSO2; StatusModel( {required this.level, required this.label, required this.primaryColor, required this.darkColor, required this.lightColor, required this.detailFontColor, required this.imagePath, required this.comment, required this.minFineDust, required this.minUltraFineDust, required this.minO3, required this.minNO2, required this.minCO, required this.minSO2}); }
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
TabBarView와 BottomNavigation 및 table_calendar 같이 사용할 시 화면에 안나오는 문제
캘린더 예시에서 캘린더 라이브러리와 배너랑 스케쥴카드를 한 화면에 넣잖아요. 바텀네비게이션바와 충돌이 나는 건지.. Column(children:)으로 감싸면 화면 에러가 나고 SafeArea/Container(child: )로 감싸면 잘 나옵니다. 탭바뷰List<Widget> renderChildren() { return [ RuleScreen(), TechniquesScreen(), TotalCalendarScreen(),<-- 이부분 CalculateScreen(), ]; }TotalCalendarScreen() 잘 나오는 경우 class TotalCalendarScreen extends StatefulWidget { @override State<TotalCalendarScreen> createState() => _TotalCalendarScreenState(); } class _TotalCalendarScreenState extends State<TotalCalendarScreen> { DateTime selectedDate = DateTime.utc( DateTime.now().year, DateTime.now().month, DateTime.now().day, ); void onDaySelected(DateTime selectedDate, DateTime focusedDate) { setState(() { this.selectedDate = selectedDate; }); } @override Widget build(BuildContext context) { return Scaffold( body: SafeArea( child: MainCalendar( onDaySelected: onDaySelected, selectedDate: selectedDate, ), ), ); } BOTTOM OVERFLOWED BY infinity PIXELS return Scaffold( body: SafeArea( child: Column( children: [ <-- 리스트로 감싸면 에러납니다. MainCalendar( onDaySelected: onDaySelected, selectedDate: selectedDate, ), SizedBox(height: 8), TodayBanner(selectedDate: selectedDate), SizedBox(height: 8), ScheduleCard(startTime: 12, endTime: 14, content: 'content'), ], ), ), ); 어떻게 해결하면 좋을까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
Reorderable ListView
이거 자주 안쓰신다고 하셧는데저는 생각나는게 그 todolist프로젝트할때 카드리스트 만들때 이걸로 만들면 카드 순서 바꿀때 좋겟구나 햇는데 카드 순서 바꾸는 스크롤뷰는 보통 멀로 만드시나요
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
Widget build(BuildContext context) 의미
안녕하세요!StatefulWidget 라이프사이클 강의 중에 Widget build(BuildContext context)를 설명해주실 때 build함수에서Build Context와 context를 파라미터로 받을 수 있고 context를 변수로 사용할 수 있다고 하셨는데요, 이 부분에 대해 잘 이해가 가지 않아 문의드립니다.build는 함수이고 (Build Context context)는 build함수의 파라미터가 되는 것일까요?(Build Context context)의 각각 역할은 어떤 것일까요? context에 대해 변수라는 설명도 있었는데 같이 설명부탁드려요.감사합니다.
-
해결됨Supabase, Next 풀 스택 시작하기 (feat. 슈파베이스 OAuth, nextjs 14)
5장까지 강의 잘 듣고 질문있습니다.
5장까지 너무나도 좋은 강의 감사하며 잘듣고 있습니다.질문이 있는데요 왜 useTodoController를 TodoList 컴포넌트에서 가져와서 직접쓰지 않고 TodoContainer에서 불러와서 props로 주는건가요??TodoList로 바로 받으면 TodoContainer도 만들 필요 없지 않나요??
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
MaterialStateProperty 없어지고 WidgetStateProperty 로 변경
MaterialStateProperty 없어지고 WidgetStateProperty 로 변경되었습니다
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
구글 맵스 ios 오류
Launching lib/main.dart on iPhone 15 in debug mode...Running pod install...CocoaPods' output:↳ [!] Invalid Podfile file: /Users/yurim/Desktop/flutter/chool_check_app/Flutter/Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first. # from /Users/yurim/Desktop/flutter/chool_check_app/ios/Podfile:9 # ------------------------------------------- # unless File.exist?(generated_xcode_build_settings_path) > raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" # end # ------------------------------------------- /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:335:in `rescue in block in from_ruby' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:329:in `block in from_ruby' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:50:in `instance_eval' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:50:in `initialize' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:327:in `new' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:327:in `from_ruby' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-core-1.15.2/lib/cocoapods-core/podfile.rb:293:in `from_file' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/config.rb:206:in `podfile' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:160:in `verify_podfile_exists!' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:46:in `run' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/bin/pod:25:in `load' /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/bin/pod:25:in `<main>'Error running pod installError launching application on iPhone 15.이렇게 에러가나서 지도가 나오지 않습니다 ㅜㅜ 도와주세요
-
해결됨Supabase, Next 풀 스택 시작하기 (feat. 슈파베이스 OAuth, nextjs 14)
No API key found in request
강의를 보고 같이 프로젝트도 만들어봤는데 문제가 생겨 글을 작성합니다.response 값을 확인하려고 네트워크 탭을 확인하니 프리플라이트가 같이 생성되고 클릭할 시 아래와 같은 메시지가 나옵니다.{"message":"No API key found in request","hint":"No apikey request header or url param was found."} 혹시 이 문제를 해결할 수 있는 방법을 알고 계신가요?처음부터 supabase 설정을 다시 해야될까요?
-
해결됨[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
한국어로 언어 변경 후 날짜 옆에 '일' 표시가 생겼어요
이런 식으로 날짜 옆에 일 표시는 제거할 수 없나요?
-
미해결애플 웹사이트 인터랙션 클론!
스크롤할 때 캔버스로 하신 이유가 있으신가요? 그냥 성능 떄문에 캔버스로 하신건가요?
스크롤할 때 캔버스로 하신 이유가 있으신가요? 그냥 성능 떄문에 캔버스로 하신건가요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
drift로 글 가져올때요
데이터를 get으로 호출해서 가져오는데... 늘 이렇게 여러줄로 가져오는데.. 원래 내부디비는 이렇게 나오는건가요?찾아도 잘 안나오네요..데이터를 저장하고 새로고침하면, 이런식으로 같은 데이터가 여러줄로 나오더라구요
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
환경설정 작업 오류
안녕하세요. 오늘 처음 안드로이드 스튜디오 다운받았고, 처음으로 플러터 sdk 다운받았습니다. 그런데 에뮬레이터를 실행하고 test_proj를 실행하는 과정에서 아래와 같은 오류가 발생합니다. ㅠ.. 어떻게 해결해야 하나요?4번째 Warning 부분이 빨간색으로 나오네요. Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...Running Gradle task 'assembleDebug'...Warning: This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.Checking the license for package Android SDK Tools in C:\Users\suhol\AppData\Local\Android\sdk\licensesLicense for package Android SDK Tools accepted.Preparing "Install Android SDK Tools (revision: 26.1.1)"."Install Android SDK Tools (revision: 26.1.1)" ready.Installing Android SDK Tools in C:\Users\suhol\AppData\Local\Android\sdk\tools"Install Android SDK Tools (revision: 26.1.1)" complete."Install Android SDK Tools (revision: 26.1.1)" finished.Checking the license for package Android SDK Build-Tools 30.0.3 in C:\Users\suhol\AppData\Local\Android\sdk\licensesLicense for package Android SDK Build-Tools 30.0.3 accepted.Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)"."Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.Installing Android SDK Build-Tools 30.0.3 in C:\Users\suhol\AppData\Local\Android\sdk\build-tools\30.0.3"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete."Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.√ Built build\app\outputs\flutter-apk\app-debug.apkInstalling build\app\outputs\flutter-apk\app-debug.apk...Debug service listening on ws://127.0.0.1:50981/764n9IlfL4k=/wsSyncing files to device sdk gphone64 x86 64...Lost connection to device.adb.exe: device offline
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안드로이드 에뮬레이터 동영상 재생 안 됨
동영상 플레이어를 제작하는 중입니다.영상을 에뮬레이터에 넣고 영상 선택까지도 됩니다.그런데 초록 화면조차 안 나오고 재생이 안 됩니다. 플러터앱이 아니라 기본 앱을 통해 재생하려고 해도 재생이 안 되네요. 영상 파일 자체에는 이상이 없습니다. 윈도우 플레이어로 재생하면 잘 나오거든요. 에뮬레이터와 앱을 몇 번 재실행해도 안 되네요.제 컴퓨터가 자원이 충분하지 않은가 싶어서 참고 수강하다가 아무래도 그런 문제는 아닐 것 같아서 문의드립니다.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
함수 질문드립니다.
함수 질문 드립니다.보통 함수는 파라미터를 전달해서 그 파라미터값으로 중괄호 부분의 함수를 실행시키는걸로 알고있는데요.작업을 하다보면, 위와 같이 반환하는 함수의 타입과 이름이 정해져서 나오는경우가 있더라구요.위에 이미지 안에 함수보면 빌드와 에이싱크타입의 context, snapshot을 받아서 함수를 실행하는걸로 나와있는거 같습니다.제가 해당 값에 아무것도 전달하지도 않았는데 어떻게 중괄호 안에서 snapshot. 즉, . 을 이용해서 접근해서 이용할수있는건가요?함수에 파라미터를 받아서 중괄호 부분을 실행시키는거랑 많이 달라서요..질문1snapshot에는 어떤한 데이터도 제가 제공안했는데 어떻게 접근 가능한지?질문2파라미터에 ( int a , String b ) 이렇게 선언하는것과 (BuildContext context , AsyncSnapshot<T> snapshot)파라미터 앞에 타입 선언하고 변수 선언하고 똑같은데, 위에꺼는 파라미터를 전달해서 실행하는것과 파라미터 안에 데이터에 접근해서 사용하는것과 어떻게 구분하는건가요?