본문 바로가기

flutter55

20230830 TIL : 급할수록 천천히 기초다지기 Today 요약 [✅] 프로그래머스 코딩테스트 lv0 1문제 [✅] flutter 강의 2개 [✅] dart 강의 2개 배운 점 1) flutter dart static ? static은 dart 클래스 내에서 사용되는 한정자로 해당 클래스의 인스턴스 없이 직접 클래스 자체에 접근 할 때 사용 클래스 레벨의 속성 또는 메서드 : static 키워드 사용시 해당 속성 또는 메서드가 클래스 수준에 졵재하게 된다 인스턴스 없이 접근 가능 : 클래스의 인스턴스를 생성지 않고도 static으로 정의된 멤버에 접근 가능하다 인스턴스 변수에 접근할 수 없음 class MyClass { static int staticVariable = 10; // static 변수 static void staticMethod() { .. 2023. 8. 30.
20230828 TIL : 월요일 좋아 싫어 Today 요약 [✅] 프로그래머스 lv0 2문제 [✅] flutter 강의 4개 배운점 1) js BigInt number 원시 값이 안정적으로 나타낼 수 있는 최대치인 2^53-1 보다 큰 정수를 표현 Number와 차이점 Math 객체의 메서드와 사용할 수 없고 Number와 혼합해 사용할 수 없다 BigInt - JavaScript | MDN BigInt 는 Number 원시 값이 안정적으로 나타낼 수 있는 최대치인 2^53 - 1보다 큰 정수를 표현할 수 있는 내장 객체입니다. developer.mozilla.org const theBiggestInt = 9007199254740991n; const alsoHuge = BigInt(9007199254740991); // ↪ 900719925474.. 2023. 8. 28.
20230826 TIL Today 요약 [✅] 프로그래머스 lv0 1문제 [✅] flutter 랜덤 2개 [✅] flutter 위젯 강의 1개 [✅] flutter 강의2개 배운 점 1) js Array.prototype.forEach const array1 = ['a', 'b', 'c']; array1.forEach((element, index) => console.log(element, index)); // Expected output: "a" 0 // Expected output: "b" 1 // Expected output: "c" 2 forEach는 주어진 함수를 배열 요소 각각에 대해 실행 Array.prototype.forEach() - JavaScript | MDN forEach() 메서드는 주어진 함수를 배열 .. 2023. 8. 26.
20230823 TIL Today 요약 [✅] 프로그래머스 코딩테스트 1문제 [✅] flutter 강의 2개 배운 점 1)flutter Intl command palette 열기 Flutter Intl :Initialize 커맨드 실행 폴더 생성 : generated 폴더가 생성되었음 l10n 폴더안에 intl_en.arb에 전에 넣었던것처럼 아래와 같이 텍스트 적용시 generated > intl > messages_en.dart에 자동으로 텍스트가 적용되는것을 확인할 수 있다 { "helloTItle" : "welcome back" } l10n 폴더에 새로운 언어를 추가하고 싶을 때 팔레트에서 flutter intl :Add locale > ko 등 언어코드 입력하면 끝 intl_ko.arb파일이 자동 생성 1-1 main.. 2023. 8. 23.
20230822 TIL Today 요약 [✅] 프로그래머스 코딩테스트 2문제 [✅] flutter 강의 2개 배운 점 1) flutter 번역 1-1 pubspec.yaml 추가 flutter : generate: true 추후 코드 생성하는데 도움을 준다 1-2 l10n.yaml 생성 arb-dir: lib/intl template-arb-file: intl_en.arb output-localization-file: intl_generated.dart 번역파일의 확장자는 .arb arb-dir : 번역파일이 어디에 위치해 있는지 template-arb-file: 마스터 파일이 무엇인지? 현재개발언어 name_언어코드.arb로 작성 output-localization-file : 번역본 파일이 어느곳에 생성되어야하는지 1-3 .. 2023. 8. 22.
20230821 TIL Today 요약 [✅] 프로그래머스 코딩테스트 2문제 [✅] flutter 강의 4개 배운 점 1) flutter material 3 MaterialApp( theme:ThemeData( useMaterial3 : true, ) ) bottom app bar의 디자인이 다르기 때문에 아래와 같이 Container로 사용해준다 2에서는 bottomNavigationBar: BottomAppBar를 사용했음 Scaffold( bottomNavigationBar :Continaer( child:... ) ) https://m3.material.io/components/bottom-app-bar/overview Bottom app bar – Material Design 3 A bottom app bar disp.. 2023. 8. 21.