묻고 답해요
156만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결Flutter 고급 - 현업 수준의 아키텍처
수업 노트에 있는 json 파일에 ingredient 관련 내용이 없습니다.
12 모델 클래스 시청중입니다.Ingredient 관련 json 내용 없습니다.강의 영상에 있는 내용과 다릅니다.
-
미해결Flutter 고급 - 현업 수준의 아키텍처
개발자 도구
플러터로 개발한 경우, 개발자도구로 cookie, local storage, sesstion storage에 데이터들을 보지 못하는게 맞는 건가요??혹시 그렇다면 어떻게 확인해야 할까요?
-
해결됨Flutter 고급 - 현업 수준의 아키텍처
figma
안녕하세요.사진처럼 강사님은 figma에서 빨간색으로 위 38, 아래 45 떨어져있는지 나오는데요저는 나오지 않더라구요별도의 단축키가 있는걸까요??
-
해결됨Flutter 고급 - 현업 수준의 아키텍처
개발자도구
안녕하세요만일, padding을 설정했는데 실제로 패딩이 잘 들어갔는지 수치로 확인하고 싶을때, web은개발자도구에서 확인하는데요.시뮬레이터나 에뮬레이터는 불가능한걸까요??제가 chrome으로 빌드해서 보니까 나오지는 않더라구요 크롬역시 나오지 않더라구요 flutter는 원래 이런걸까요?
-
해결됨Flutter 고급 - 현업 수준의 아키텍처
ui 테스트 코드 링크가 없습니ㅏㄷ.
3분 55초에 ui 테스트 코드 를 위해강의 링크를 남겨주신다고 하셨는데 강의 링크가 없습니다.
-
미해결Flutter 고급 - 현업 수준의 아키텍처
jdk 설정 및 오류
안녕하세요 질문이 2개있습니다. 강의 듣던중 에뮬레이터 실행하니FAILURE: Build failed with an exception.* Where:Build file 'C:\workspace\Flutter\android\app\build.gradle' line: 5* What went wrong:An exception occurred applying plugin request [id: 'dev.flutter.flutter-gradle-plugin']> Failed to apply plugin 'dev.flutter.flutter-gradle-plugin'. > No such property: source for class: java.lang.String* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 590msError: Gradle task assembleDebug failed with exit code 1 에러가 났는데 뭐가문제일까요?plugins { id "com.android.application" id "kotlin-android" // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id "dev.flutter.flutter-gradle-plugin" } android { namespace = "com.survivalcoding.flutter_recipe_app_course" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8 } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "com.survivalcoding.flutter_recipe_app_course" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } buildTypes { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig = signingConfigs.debug } } } flutter { source = "../.." } ============================================================ file > settings > build Tools > gradle 설정 부분에서 jdk 설정부분이 없습니다.PS C:\workspace\Flutter> flutter config --listAll Settings: enable-web: (Not set) enable-linux-desktop: (Not set) enable-macos-desktop: (Not set) enable-windows-desktop: (Not set) enable-android: (Not set) enable-ios: (Not set) enable-fuchsia: (Not set) (Unavailable) enable-custom-devices: (Not set) cli-animations: (Not set) enable-native-assets: (Not set) (Unavailable) enable-flutter-preview: (Not set) (Unavailable) enable-swift-package-manager: (Not set) (Unavailable) jdk-dir: C:\Program Files\Java\jdk-17PS C:\workspace\Flutter> flutter doctor -v[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.26100.2314], locale ko-KR) • Flutter version 3.24.0 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 80c2e84975 (8 months ago), 2024-07-30 23:06:49 +0700 • Engine revision b8800d88be • Dart version 3.5.0 • DevTools version 2.37.2[√] Windows Version (Installed version of Windows is version 10 or higher)[√] Android toolchain - develop for Android devices (Android SDK version 35.0.1) • Android SDK at C:\Users\hong\AppData\Local\Android\sdk • Platform android-35, build-tools 35.0.1 • Java binary at: C:\Program Files\Java\jdk-17\bin\java • Java version Java(TM) SE Runtime Environment (build 17.0.14+8-LTS-191) • All Android licenses accepted.[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.42) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools • Visual Studio Build Tools 2019 version 16.11.35425.106 • Windows 10 SDK version 10.0.19041.0 X The current Visual Studio installation is incomplete. Please use Visual Studio Installer to complete the installation or reinstall Visual Studio.[√] Android Studio (version 2024.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)[√] VS Code (version 1.96.4) • VS Code at C:\Users\hong\AppData\Local\Programs\Microsoft VS Code • Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter[√] Connected device (4 available) • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 16 (API 36) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.2314] • Chrome (web) • chrome • web-javascript • Google Chrome 134.0.6998.89 • Edge (web) • edge • web-javascript • Microsoft Edge 132.0.2957.127[√] Network resources • All expected network resources are available.! Doctor found issues in 1 category.PS C:\workspace\Flutter> flutter config --list 명령어하면 jdk는 17이고 flutter doctor -v 하면 jdk가 21로잡혀있어서 버전이 다른데 jdk 설정하는부분이 없는데 어떻게하면 오류해결과 jdk 수동설정 가능하게 할 수 있을까요?
-
미해결Flutter 고급 - 현업 수준의 아키텍처
텍스트 전체입력 후 검색 결과 조회
SearchInputField에서 onChanged를 onSubmitted로만 바꿔주면 키보드에서 return 버튼 눌렀을때 적용되더라구요^^
-
미해결Flutter 고급 - 현업 수준의 아키텍처
라이브 템플릿 링크 어디서 확인하나요?
1:44에 링크로 공유된다고 하셨는데 강의노트에 따로 올라와있는게 없어서요.. 어디서 확인하면 되나요?
-
미해결Flutter 고급 - 현업 수준의 아키텍처
ingredient view model의 _loadRecipe
ingredient view model 의 _loadRecipe 함수는 생성자에서실행이 안되는 이유에 대해서 궁금합니다.동일하게 _getDishesByCategoryUseCase.execute를 사용하는 _fetchDishesByCategory 는home view model에서 생성자에서 쓰이는데 어떤 차이가 있나요
-
미해결Flutter 고급 - 현업 수준의 아키텍처
BigButton 만들때.
BigButton 컴포넌트 만들때elevatedButton을 사용하지않고container위젯을 사용하는 이유가있을까요?
-
미해결Flutter 고급 - 현업 수준의 아키텍처
31강 stream 활용시 어떤장점이 있나요?
북마크를 future 대비 stream으로 할 때 장점이 (자세하게) 궁금합니다.감사합니다.
-
미해결Flutter 고급 - 현업 수준의 아키텍처
view model 은 팩토리로 생성하는 이유
23강의 5:10에서 usecase,repository 는 싱글톤으로 만들고, viewmodel은 팩토리로 만드는 것이 일반적이라고 하셨습니다.싱글톤으로 만드는 것은 이해했는데, 팩토리를 사용하는 이유는 무엇일까요? viewModel 안의 state 의 내용이 UI 의 데이터로 채워지고, viewModel 안의 state 는 가변적이니 싱글턴으로 하는게 맞지 않을까라는 생각이 갑자기 들어서요. viewModel을 다시 만드는 것이 어떤 경우가 있는지 궁금합니다. 강의항상 재밌게 듣고 있습니다. 감사합니다.
-
미해결Flutter 고급 - 현업 수준의 아키텍처
domain 에 data_source 를 만드는 이유.
강의 항상 잘 듣고 있습니다.질문이 하나 생겨서 여쭤봅니다.20강 30~33분 정도에서 domain 폴더에 data_source 폴더를 만드시는 이유를 다시 설명해주실 수 있을까요? 아래는 제가 생각하는 부분입니다. data/ 의 data/data_source/ 는 data/repository/ 에서 사용하는 부분임.domain/ 은 사실상 data/data_source/ 를 직접 접근하지 않고 domain/repository 를 활용하는 domain/use_case 를 통해 접근함.이렇게 생각이 들다보니, "domain 에서 data_source 의 인터페이스를 정의하는 것이 맞는건가?" 생각이 듭니다. 감사합니다.