본문 바로가기
반응형

Flutter70

[flutter] Default of googleFonts & dark theme & text color [flutter] Default of googleFonts & dark theme & text color 구글 폰트를 기본으로 지정하고, 테마를 dark 글자 색상은 흰색으로 지정하는 코드입니다. Widget build(BuildContext context) { return MaterialApp( title: "Word", theme: ThemeData( //위젯 전경색상 accentColor: Colors.red, primaryColor: Colors.pink, // 밝기는 어둡게 brightness: Brightness.dark, textTheme: GoogleFonts.juaTextTheme( Theme.of(context) .textTheme .apply(bodyColor: Colors.white.. 2021. 7. 10.
Uploading Image to Firebase Storage in Flutter (Android & iOS) Uploading Image to Firebase Storage in Flutter (Android & iOS) 사전에 firebase연결이 이루어져야한다. android, ios, 사용자가 테스팅 하고 싶은 디바이스로 pubspec.yaml에 팩키지 넣기 사용된 버전 image_picker: ^0.8.0+4 firebase_auth: ^1.4.1 firebase_core: ^1.3.0 cloud_firestore: ^2.2.2 firebase_storage: ^8.1.3 ios에서 사용하기위해서는 권한을 얻어야한다. Info.plist NSCameraUsageDescription Need to access your camera to capture a photo add and update profile .. 2021. 6. 26.
M1 MacBook Flutter CocoaPods error M1 MacBook Flutter CocoaPods error Firebase_core / Firebase_auth Use the M1 MacBook. Connect to Firebase using a flutter. But there was a pod install error, so the build is not working. I need to find a solution. As below - On the terminal run: sudo arch -x86_64 gem install ffi On the ios project folder run: arch -x86_64 pod install --repo-update End ⊙^⊙ Thank For Reading | Happy Coding ⊙-⊙ Seta.. 2021. 6. 14.
Flutter doctor - Android Studio (not installed) windows 해결 Flutter doctor - Android Studio (not installed) windows 해결 문제점 분명히 Android Studio 설치를 완료했는데.. flutter doctor 하면 위 처럼 나옵니다. 해결방법 안드로이드 경로 지정 및 licenses를 재차 설정하였습니다. flutter config --android-studio-dir="C:\Program Files\Android\Android Studio flutter doctor --android-licenses cf. Android SDK command-line Tools setting licenses하는 데 아래의 에러 메시지 발생하면, (Exception in thread "main" java.lang.NoClassDefFo.. 2021. 6. 5.
error : The bundle Runner.app/framworks/App.framwork does not support the minimum OS version ~ info.plist The bundle Runner.app/framworks/App.framwork does not support the minimum OS version ~ info.plist flutterでfirebase連動し開発テストを行っています。 ですが、errorの表示で進めませんでした。 error内容 The bundle Runner.app/framworks/App.framwork does not support the minimum OS version ~ info.plist 解決 flutter clean これで解決できれば嬉しいです。 以上です。 End ⊙^⊙ Thank For Reading | Happy Coding ⊙-⊙ Setapp on Mac invite link flutterkage2k The referrer g.. 2021. 5. 23.
flutter doctor error - Android license status unknown. flutter doctor error - Android license status unknown. Flutter Doctor --android-licenses : Exception in thread “main” java.lang.NoClassDefFoundError Installing Android SDK Command-line tools from Android SDK Manager Open Android Studio Tools > SDK Manager From the left choose, Appearance & Behavior > System Settings > Android SDK Select SDK Tools from the top menu Check Android SDK Command-line .. 2021. 5. 23.
반응형