본문 바로가기

flutter

flutter 해당 위젯 코드 쉽게 찾기

이 기능의 경우 Debug 실행 시에 가능하다. 안드로이드 스튜디오, 인텔리제이 우측에 보면 Flutter Inspector가 있다. Flutter Inspector에 들어가서 좌측 상단에 보면 toggle select widget mode 라는 Icon이 있다. 클릭을 하여 모드 활성화를 하고 에뮬레이터 화면에서 위젯을 클릭하면 쉽게 위젯 코드가 어디에 있는지 찾을 수 있다.

'flutter' 카테고리의 다른 글

expandable fab  (0) 2022.06.15
singleton  (0) 2022.06.14
BoxConstraints forces an infinite width  (0) 2022.05.26
IntrinsicWidth, UnconstrainedBox  (0) 2022.05.23
TextStyle 정의하기  (0) 2022.05.19