Flutter Build Runner - Filesystem Error 대응 방법
Flutter를 업데이트를 했더니, 잘되던 Build Runner에 오류가 발생했다. Build Error Error: The class 'FileSystemEvent' can't be extended, implemented, or mixed in outside of its library because it's a sealed class. 휘리릭 검색해보니 Dart 3.1부터 Sealed Class를 적용하면서 발생하는 문제라고 한다. ※ Sealed Class에 대해 자세히 알고 싶으면 Sealed Classes in Dart: Unlocking Powerful Features의 내용을 참고할 것. Error 해결 그래서 어떻게 해결했는가? Dart가 업데이트 됐으면 다른 라이브러리도 업데이트가 필요하..
2023.08.29