본문 바로가기
<Flutter> Animations sample 적용하기(AnimationController) 지난 글에 이어서 여러가지 Animations samples를 적용해볼게요! AnimationControllerDemo: Demonstrates how to use an AnimationController. AnimationController에 대해서 알아볼까요? Using the SingleTickerProviderStateMixin can ensure that our AnimationController only animates while the Widget is visible on the screen. This is a useful optimization that saves resources when the Widget is not visible. SingleTickerProviderStateMixi.. 2023. 3. 27.
<Flutter> Animations sample 적용하기 ( AnimatedContainer ) 네, 이번 시간에는 Flutter에 존재하는 개념에 대한 공부가 아니라 Flutter 공식 문서에서 찾을 수 있는 Flutter samples에 있는 깃허브에 있는 animations를 해석하고 적용하는 과정을 포스팅하려고 합니다! 본 포스팅의 목적은 영어로 쓰여진 깃허브 자료를 해석하고 실제 적용할 수 있는 실력을 기르기 위함에 있습니다! 시간이 좀 걸리더라도 다른 자료를 보지 않고 차근 차근 진행해보도록 하겠습니다! https://docs.flutter.dev/get-started/learn-more Learn more More resources to help you learn Flutter. docs.flutter.dev Flutter samples에 가서 보면 다음과 같은 웹페이지가 로딩되고 4번.. 2023. 3. 23.
<Dart> Streams 비동기 프로그래밍 결론 The dart:async library contains two types that are important for many Dart APIs: Stream and Future. Where a Future represents the result of a single computation, a stream is a sequence of results. Future은 단일 계산의 결과에 대한 사용, stream은 연속된 결과를 위해 사용됩니다!!! 네, 이번 시간에는 비동기 프로그래밍인 Strams에 대해서 알아보도록 하겠습니다. 사실 Stram은 저번에 포스팅 했던 Future과 비슷한 개념이라고 생각하시면 좋을 거 같아요. 이번 포스팅도 역시 Dart 공식 문서에 나온 내용을 바탕으로 쓰여졌습니다... 2023. 3. 16.
<Dart> Effective Dart: Documentation 이번 시간에는 Efective Dart: Documentation에 대해서 공부해보도록 하겠습니다. 어떻게 하면 효과적으로 Dart를 사용할 수 있을까요? https://dart.dev/guides/language/effective-dart/documentation Effective Dart: Documentation Clear, helpful comments and documentation. dart.dev 본 포스트는 공식 문서의 내용을 중심으로 필자의 해석이 주를 이루고 있습니다! 글을 작성할때마다 무언가 어투가 바뀌는 거 같아요. 제가 정신이 없는 점 양해부탁드리면서 시작하도록 하겠습니다. 위 링크를 타고 들어가시면 가장 먼저 It’s easy to think your code is obvious.. 2023. 3. 6.