简体   繁体   English

如何fork一个包扑,并改变它

[英]how to fork a package of flutter and change it

There is a file which draws the dayPicker widget in flutter. 有一个文件在flutter中绘制dayPicker小部件。 it is located here: 它位于这里:

{flutter_dir}/packages/flutter/lib/src/material/date_picker.dart {} flutter_dir /packages/flutter/lib/src/material/date_picker.dart

how can I fork it and edit it to use it as a package? 如何分叉并编辑它以将其用作包?

You can open the file from the location and do the edit, save it. 您可以从该位置打开该文件并进行编辑,保存。 Then it would work in your local system. 然后它将在您的本地系统中工作。 And it won't impact any other programmer, since I guess the package folder is already put in .gitignore 并且它不会影响任何其他程序员,因为我猜包文件夹已经放入.gitignore

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM