본문 바로가기
반응형

전체 글176

[flutter] How to keep the contents in the tab even if the tab is moved - Inde [flutter플러터] How to keep the contents in the tab even if the tab is moved - IndexedStack (Tab 이동하더라도 Tab 내의 내용은 유지되도록 하는 방법 - IndexedStack) 기존에는 아래와 같이 탭바를 사용하였지만 탭을 이동하고 돌아오니 기존의 내용이 초기화되는 문제가 있었다. (Previously, the tab bar was used as follows, but when the tab was moved and returned, there was a problem that the existing content was initialized.) return Scaffold( body: _children[_currentIndex],.. 2021. 10. 29.
[flutter][Solved] no connected devices found please connect a device [flutter] [Solution] no connected devices found please connect a device https://stackoverflow.com/questions/54793409/no-connected-devices-found-please-connect-a-device-or-see-flutter-io-setup-for No connected devices found; please connect a device, or see flutter.io/setup for getting started instructions i am using the Android Studion 3.3 on Windows 10. i have created a emulator and it is runnin.. 2021. 10. 28.
[LeetCode.454][middle] 4Sum II https://leetcode.com/problems/4sum-ii/ 4Sum II - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 초기 접근 방법 일단 브루트포스 알고리즘으로 접근했다. 모든 경우의 수를 4중 for loop 돌려서 전체를 탐색했다. 테스트케이스는 통과했지만, 시간초과 에러로 실패했다. 초기 코드 class Solution { public: int fourSumCount(vector& nums1, vector& nums2, vector& nu.. 2021. 10. 28.
[flutter] The method '+' was called on null. null safety check를 안해서 나오는 에러메시지입니다. Text(cart_prod_qty) 위를 아래와 같이 처리하시면 해결됩니다. Text(cart_prod_qty??'default value') https://stackoverflow.com/questions/56351386/a-non-null-string-must-be-provided-to-a-text-widget A non-null String must be provided to a Text widget I'm trying to add the option for the quantity to be adjusted but I get an error saying "A non-null String must be provided to a Text.. 2021. 10. 28.
반응형