전체 글

Flutter/오류해결

[Flutter] error: cannot find symbol

발생현상안드로이드 파일 구조 변경하고 build 하는데 잘되던 패키지를 못찾는 현상.   해결방법 flutter pub cache repair

Flutter/오류해결

[Flutter] arb 파일 안열리는 문제 해결

IDE : Android Studio 현상 : 위 사진 처럼 파일이 하얀색으로 변하고 클릭해도 안열리는 현상   해결한 방법 Android Studio > Settings > File Types > Text > 오류나는 파일 추가

Flutter/기본

[Flutter] Isolate 설명과 사용방법

IsolateIsolate는 Dart의 고급 기능 중 하나로, 단일 스레드로 실행되는 Dart 환경에서 병렬 작업을 수행할 수 있도록 도와줍니다. 이를 통해 복잡한 계산이나 I/O 작업을 별도의 스레드에서 처리하여 메인 스레드의 응답성을 유지할 수 있습니다.   Isolate 왜 필요해?대부분의 Flutter 작업에서는 Isolate가 필요하지 않을 수도 있습니다. 하지만 복잡한 계산이나 오랜 시간이 걸리는 작업을 수행할 때, Dart는 단일 스레드로 동작하기 때문에 다른 작업을 할 수 없는 상황이 발생할 수 있습니다. 이러한 상황에서는 앱이 멈춘 것처럼 느껴져 사용성을 해칠 수 있습니다. 이런 경우 Isolate를 사용하면 메인 스레드의 응답성을 유지하면서도 복잡한 작업을 처리할 수 있습니다.   위와..

Flutter/기본

[Flutter] 세 자리마다 쉼표가 있는 TextField 구현하기

https://pub.dev/packages/intl intl | Dart packageContains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues.pub.dev앱의 텍스트, 날짜, 숫자 등의 Format을 도와주는 intl 패키지를 설치합니다.   import 'package:flutter/services.dart';import 'package:intl/intl.dart';class CommaTextInputFormatter extends TextInputFormatter ..

주톨
Jutole's programming