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 |
Tags
- 유데미 #udemy #웅진씽크빅 #스나이퍼팩토리 #인사이드아웃 #미래내일일경험 #프로젝트캠프 #부트캠프 #react #리액트프로젝트 #프론트엔드개발자양성과정 #개발자교육과
- VS #비주얼스튜디오
- 백준 #boj
- unity #2d-game
- 백준
- boj #baekjoon #c++
- baekjoon #boj #c++
- firebase #파이어베이스
- unity #2d-game #minigame #vscode
- flutter #상태관리
- 비주얼 스튜디오 #vs #visual studio
- #유데미 #udemy #웅진씽크빅 #스나이퍼팩토리 #인사이드아웃 #미래내일일경험 #프로젝트캠프 #부트캠프 #react #리액트프로젝트 #프론트엔드개발자양성과정 #개발자교육과정
- flutter #firebase #플러터 #파이어베이스 #연동
- 백준 #boj #baekjoon
- flutter #git
- 플러터 #flutter #restful #rest api
- 백준 #c++
- Flutter
- flutter #플러터 #분석
- flutter #깃
- 인턴 #프론트엔드 #개발자 #프론트엔드개발자 #취준
- flutter #app #취준
- 로컬저장소 #이름변경
- 비주얼스튜디오 #코드스니펫
- boj #baekjoon
- baekjoon #백준 #boj
- flutter #todolist
- flutter #플러터
- boj #c++
- git #unity #깃허브
Archives
- Today
- Total
cococo-coding
[Flutter/Android Studio] The selection does not cover a set of statements or an expression. Extend selection to a valid range. 본문
[Flutter] Todolist/트러블슈팅
[Flutter/Android Studio] The selection does not cover a set of statements or an expression. Extend selection to a valid range.
_dani 2024. 2. 10. 16:48발생
투두리스트 앱을 만들던 중에 appBar: Appbar( ) 를 Extract Method 를 했는데 아래와 같은 에러가 났다.
참고)
AppBar에 커서를 놓고 오른쪽 버튼>Refactor>Extract Method 를 눌렀을 때 생긴 에러이다.
해결법
커서를 블록의 첫번째 문자 앞에 두고 똑같이 실행하면 된다.
Appbar의 맨 앞에 커서를 둔 것을 확인
위의 방법대로 하면 선택이 잘 된다.
출처:
https://stackoverflow.com/questions/56558409/flutter-extract-widget-requires-a-return-widget
'[Flutter] Todolist > 트러블슈팅' 카테고리의 다른 글
[Flutter/Android Studio] None of the files were in this project content 에러 (0) | 2024.02.10 |
---|---|
[Flutter/Android Studio] dart파일 import하기 (1) | 2024.02.10 |
[Flutter] 새로운 플러터 프로젝트 만들고 깃 연동하기 (1) | 2024.02.10 |
Too many positional arguments: 0 expected, but 1 found. (1) | 2024.02.10 |
안드로이드 스튜디오에서 main.dart 파일 찾기 (0) | 2024.02.09 |