본문 바로가기
728x90

개발456

GetX FutureBuilder처럼 사용하기 GetX를 사용하다보면, 데이터를 받아오고 있을 때 어떻게 해야하지? 라는 고민이 든다. 짜잔~ StateMixin이라는 것이 있다. 사실 잘 안쓰다가 다른 사람 한명이 이걸 쓰길래 나도 한 번 써보려고 한다. data를 마치 futurebuilder의 snapshot에 넣어주듯이 넣으면 된다. 근데 내가 생각할 때 문제는 2개 이상을 만들 때 생길 것 같은데, 일단은 그 때가 되면 그 때 생각해보자~ 2023. 7. 5.
rotate 하고 사이즈 남기기 로테이션 하는 방법은 많은데, 로테이션 하고나서 사이즈를 다시 확인해주는 것은 찾기 어려운 것 같다 .아래의 블로그를 통해서 찾았음!!ㅎㅎ https://www.fluttercampus.com/guide/204/how-to-rotate-widget-in-flutter/ How to Rotate Widget in Flutter In this example, we are going to show you how to rotate widgets with different methods in Flutter such as using Transform.rotate(), RotationTransition(), RotatedBox(). www.fluttercampus.com 내가 했던 방법은 RotatedBox( qua.. 2023. 7. 3.
iOS Firebase Crashlytics dSYM iOS Firebase crashlytics를 설정하려면 dSYM을 업로드시켜줘야한다. 버전마다 업로드시키는게 번거롭다면 자동으로 업로드하도록 할 수 있다! https://stackoverflow.com/questions/55709939/how-to-upload-dsyms-files-which-developed-with-flutter How to upload dsyms files which developed with Flutter? I am developing one Cross-platform app with flutter support. I Integrated firebase Crashlytics for crash reports. before I need to check report one error .. 2023. 7. 2.
In App 결제 기능 구축(6) 인앱 결제 6.. 벌써 6까지 왔는데 될 기미가 안보이긴한다..ㅋㅋㅋ 처음 해보는 것이고 돈 걸려있다보니 좀 조심스러운 것도 사실! 자이제 UI는 짰으니 클릭하면 어떻게 처리할 지 만들어보자 void onClickPurchaseItem(ProductDetails product) async { logger.d('print purchase $product'); final ProductDetails productDetails = product; // Saved earlier from queryProductDetails(). final PurchaseParam purchaseParam = PurchaseParam(productDetails: productDetails); InAppPurchase.instance.. 2023. 7. 2.
728x90