♣ 개발/Flutter

[Flutter] dependencies vs dev_dependencies

SlowDreamer 2021. 4. 5. 18:48

dependencies

List of plugins that we have to include while deploying your App after completion of your development stage.

dev_dependencies

List of plugins that you want to try out at the development stage to test the apps at development stage.

For example: In the development stage, we use Mockito and test plugins and SDK to write the test cases and to test the complete behaviour of the app. These kind of plugins and SDK's we include in

dev_dependencies

So in the release apps, there is no need of adding these plugins or sdk support.

 

배포된 앱에 sdk의 포함할 것인지에 따라 선언 위치를 결정하면 될 것 같다.

반응형

'♣ 개발 > Flutter' 카테고리의 다른 글

[Flutter] Scaffold  (0) 2021.06.17
[Flutter] Material vs Cupertino  (0) 2021.06.17
[Flutter] Route간 이동 방법 정리  (0) 2021.01.07
[Flutter] 앱 강제 종료 현상  (0) 2020.12.29
[Flutter] Size 분석  (0) 2020.12.18