diff --git a/docs/ff-concepts/adding-customization/code-file.md b/docs/ff-concepts/adding-customization/code-file.md index 135b0034..9fa36f5b 100644 --- a/docs/ff-concepts/adding-customization/code-file.md +++ b/docs/ff-concepts/adding-customization/code-file.md @@ -37,7 +37,7 @@ Here’s an example of adding a `Review` custom class: height: 0, width: '100%'}}> + +

+ +:::warning +Instructions and visuals on this page show the new Custom Code layout. You can switch from from the classic Custom Code editor by clicking **Try New Layout** in the toolbar. + +Switching to the new Custom Code layout is one-way for that project. After you switch, you cannot go back to the classic Custom Code editor for the same project. To safely try the new custom code layout first, create another branch, switch to that branch, and then click Try New Layout there. + +
+ +
+

+ +::: -# Writing Custom Code There are two main ways to write custom code in FlutterFlow: 1. Using the [**In-App Code Editor**](#using-the-in-app-code-editor) @@ -44,7 +104,7 @@ There are two main ways to write custom code in FlutterFlow: ### Using the In-App Code Editor You can use the In-App Code Editor to view and edit custom code directly in the FlutterFlow application. -![custom-code-common.png](imgs/custom-code-common.png) +![custom-code-common.avif](imgs/custom-code-common.avif) :::tip To leverage the capabilities that go beyond our in-app code editor, you can click on the **VS Code icon** to open and edit your custom code directly in VS Code using the FlutterFlow [**VSCode extension**](vscode-extension.md). @@ -79,7 +139,7 @@ Your prompt must be at least 3 words and no more than 500 characters. width: '100%' }}> + +

+ ## Adding a Pubspec Dependency [Pub.dev](https://pub.dev) is the official package repository for Dart and Flutter. It hosts a wide range of packages, libraries, and tools that developers can use to extend the functionality of their Dart and Flutter applications. diff --git a/docs/ff-concepts/adding-customization/custom-functions.md b/docs/ff-concepts/adding-customization/custom-functions.md index 0398d1ba..bd44ad05 100644 --- a/docs/ff-concepts/adding-customization/custom-functions.md +++ b/docs/ff-concepts/adding-customization/custom-functions.md @@ -54,7 +54,7 @@ Custom Functions are typically straightforward input-output expressions designed width: '100%' }}>