Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
설명
플러터 젠은 이미지 파일이나 폰트를 불러올때 큰따옴표 사이에 텍스트 " assets/image1.png " 가 아닌 Assets.Image1 같은 형식으로 텍스트를 지정함으로써 발생 가능한 이슈를 막아주는 패키지 입니다.
https://pub.dev/packages/flutter_gen
변경 사항
Before :
imagePath: 'assets/login_page_images/apple.png'
After :
imagePath: Assets.loginPageImages.google.path
체크리스트
< 체크리스트 항목을 확인해 주세요. >
스크린샷
< 여기에 이미지/동영상을 드래그 앤 드랍하면 링크가 생성됩니다. >
![sample](여기에 링크를 추가해주세요)
참조
관련된 이슈나 PR이 있다면 링크를 추가해주세요.