Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- bootstrap
- github io
- Git
- react env
- fetch
- dart 변수
- 컨디셔널 렌더링
- nextjs 설치
- rewrites
- github
- getModifierState
- ngrok실행
- SCSS
- next.js css
- typescript react
- icon
- styled components
- nextjs .env
- react
- ngrok설치
- API 토큰
- createGlobalStyle
- input type=file
- nextjs
- react typescript
- git lab
- npm styled-reset
- CSS
- There isn’t anything to compare
- API token
Archives
- Today
- Total
목록DART (1)
꾸준히 성장하는 개발자
[dart] dart 변수
변수를 만드는 방법 var, 타입 지정 void main() { var name = 'flutter'; String name2 = 'dart'; name='flutter2'; print(name); print(name2); } 함수나 메소드 내부에 지역변수를 선언할 때는 var를 사용 class에서 변수나 property를 선언할 때는 타입을 지정해 준다. 위처럼 작성했을 때는 업데이트가 가능하다. 단 처음 선언되어 있던 타입으로만 업데이트가 가능 string이었는데 int로 변경되진 않음 Dynamic 타입 //Dynamic 타입 void main() { var name; name='hello'; name=12; print(name); } 변수를 선언할 때 dynamic을 쓰거나 값을 지정하지 않으면 ..
Dart
2023. 1. 25. 18:50