[flutter] 그림 파일 넣기

코드왕·2023년 3월 26일
0

1.pubspec.yaml파일을 찾는다.

2.flutter: 밑에 내용을 추가한다.

flutter:
  assets:
    - assets/
  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.

※ 웹에 있는 사진을 넣고 싶으면

Image.network("경로")
profile
CODE DIVE!

0개의 댓글