-
flutter에서 (_) 의 의미는?flutter 파헤치기 2024. 2. 12. 01:34
파라미터에 Underscore가 있는 것은 사용하지 않고 flutter 내부적 사용되는 private 형태라고 보면 된다.
method(int useful, int useless) { }
위 메소드 호출은 아래와 같이 사용하면 된다.
method(int useful, int _) { }
'flutter 파헤치기' 카테고리의 다른 글
Flutter in Action 플러터 인 액션 (2) 2024.02.14 VSCode Shortcuts for Flutter Development (1) 2024.02.13 flutter에서 ?, ! 의미는? (0) 2024.02.12 Collection for (0) 2024.02.12 RegExp 정규식 숫자 찾기 (0) 2024.02.12