반응형 방법55 [Flutter] Make the height of the widget variably change depending on the length of the text input string. (Text 입력 문자열 길이에 따라 위젯의 높이가 가변적으로 변하도록 만들기) [Flutter] Make the height of the widget variably change depending on the length of the text input string. (Text 입력 문자열 길이에 따라 위젯의 높이가 가변적으로 변하도록 만들기) 문제 상황 (Problem) Text에 입력으로 들어오는 문자열 길이에 따라서 위젯의 높이가 가변적으로 변하면 좋겠는 상황이다. 코드를 어떻게 수정해야할까? [Eng] (This is a situation where it would be nice to have the height of the widget change variably depending on the length of the string that is input to the te.. 2023. 9. 18. [Flutter][Solved] Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't. 문제 상황 (Problem) flutter 앱을 빌드하는 중에 아래와 같은 에러가 발생했다. firebase_auth-3.2.0 Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't. 해결 방법 (Solution) 1. flutter pub upgrade 수행 2. flutter doctor 체크 참고 사이트 https://github.com/firebase/flutterfire/issues/9015 🐛 [cloud_firestore] Xcode build fails with errors: Expected a type in Firebas.. 2023. 7. 26. Mongo DB 3 - Replication 및 Write&Read concerns Mongo DB (몽고 DB) 키워드로 공부하기Replication 개요 및 Write&Read concerns2023.04.19 - [Book & Lecture/Database] - Mongo DB 2 - 인덱싱(index) Mongo DB (몽고 DB) 키워드로 공부하기 2 - 인덱싱(index)Mongo DB (몽고 DB) 키워드로 공부하기 2 - 인덱싱(index) Index 인덱스는 RAM에 올라오기 때문에 가능한 한 적게 만들어야 연습문제 MultiIndex를 만들면 순서(lap_times.2)값은 사라짐 → 그래서 lap_times.2는studiodoc.tistory.com Replication : Data durability (속도와 안정성 사이의 trade-off)Replica Se.. 2023. 4. 21. Effective C++ 항목11 : operator에서는 자기대입에 대한 처리가 빠지지 않도록 하자 Effective C++ 항목11 operator에서는 자기대입에 대한 처리가 빠지지 않도록 하자 선 요약 operator=함수를 구현할 때, 자기대입을 제대로 처리하도록 하자. 객체간의 주소 비교 호출 순서를 적절히 조절 "복사 후 맞바꾸기" 기법 두 개 이상의 객체에 대해 동작하는 함수가 있다면, 이 함수에 넘겨지는 객체들이 사실 같은 객체인지 정확하게 체크하자. class Widget{ ... } Widget w; ... w = w // 자기에 대한 대입 위와 같이 C++에서는 자기 자신을 대입하는 자기대입이 적법(legal)하다. 자기대입은 여러 곳에서 하나의 객체를 참조하는 상태, 즉 중복참조라고도 불린다. 중복참조란? class Base { ... } class Derived { ... } v.. 2023. 2. 18. 이전 1 2 3 4 5 6 ··· 14 다음 반응형