Skip to content

Commit 00aa100

Browse files
authored
Merge pull request #235 from FlutterFlow/pinkesh/manage-dependency
Added Dependency Page Info
2 parents e15ad25 + 2469f01 commit 00aa100

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/ff-concepts/adding-customization/custom-code.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,36 @@ FlutterFlow:
374374
This example demonstrates how to add a [**pub.dev**](https://pub.dev) package to a Custom Widget snippet, but you can follow the same process for adding a package to Custom Actions. For a deep dive, explore the detailed documentation on **[Custom Widgets](custom-widgets.md)** and [**Custom Actions**](custom-actions.md).
375375
:::
376376

377+
## Manage Dependencies
377378

379+
You can also add packages directly on the **Dependencies** page (at **Settings and Integrations > Project Setup > Project Dependencies**) and they will be reflected in your custom actions or custom widgets, because packages are managed at the project level.
378380

381+
Additionally, when you create a new custom action or widget, all previously added custom dependencies will be listed on the **Pubspec** **Dependencies** list on the right side. This ensures that you can easily track all custom dependencies in the project, avoiding duplication or conflicts that could override each other or cause project errors.
379382

383+
If any project errors related to packages arise, they will be displayed in both the custom code editor and the Dependencies page. You can also update the version numbers of custom packages directly from the Dependencies page. This streamlined process helps maintain consistency and reduces potential issues related to custom packages.
384+
385+
<div style={{
386+
position: 'relative',
387+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
388+
height: 0,
389+
width: '100%'}}>
390+
<iframe
391+
src="https://demo.arcade.software/aaX1a8s4Z1xytVa2DYd5?embed&show_copy_link=true"
392+
title=""
393+
style={{
394+
position: 'absolute',
395+
top: 0,
396+
left: 0,
397+
width: '100%',
398+
height: '100%',
399+
colorScheme: 'light'
400+
}}
401+
frameborder="0"
402+
loading="lazy"
403+
webkitAllowFullScreen
404+
mozAllowFullScreen
405+
allowFullScreen
406+
allow="clipboard-write">
407+
</iframe>
408+
</div>
409+
<p></p>

0 commit comments

Comments
 (0)