FlutterFlow Docs
Search…
FlutterFlow Docs
Introduction
FlutterFlow Introduction
Project Dashboard
Navigation Menu
UI Builder
Build Your First App
Settings and Integrations
Change App & Package Name
General Settings
Project Setup
App Settings
In App Purchases & Subscriptions
Integrations
Building UI
UI & Layout 101
UI Elements / Widgets
Animations
Actions
Actions
Navigate
Backend Calls
Authentication Action
Algolia Search Action
Launch URL Action
Upload Media Action
Date/Time Picker Action
Bottom Sheet Action
Alert Dialog Action
Braintree Payment Action
Stripe Payment Action
Share Action
Show Snack Bar
Scan Barcode/QR code
Animation Action
RevenueCat Action
Custom Action
Expand Image
Clear Text Fields
Set App Language
Set Dark Mode Setting
Validate Form
Wait
Update Local State
Google Analytics Event
Simple Search Action
UI Interactions
Alerts
Data and Backend
Firebase
Adding Indexes
Searching Data
Backend Query
API Calls
Local State
Showing Data in UI Elements
Customizing Your App 🖌️
Custom Functions
Custom Widgets
Custom Components
Custom Actions
Manage Custom Code In GitHub
Advanced Functionality 🤖
Conditional Visibility
Push Notifications
Payments
Deploying Your App 📱
Testing Your App
App Store Deployment with Codemagic
Google Play Store Deployment with Codemagic
Troubleshooting ❓
Basic Troubleshooting Guide
Collections & Indexes
Widgets
Gray Screen
Run Mode
Test Mode
APKs
GitHub
Testing Your App
Authentication
Content Manager
Push Notifications
Deployment & CodeMagic
Miscellaneous
Account & Billing ♟️
Account Management
Plans & Pricing
Subscriptions
Payments & Billing
Referral Program
Privacy And Terms Of Service
Miscellaneous 😃
Customer Support Policy
FlutterFlow Release Tracker
FlutterFlow Experts
Additional Resources To Get Help
Available Sample Apps
Design Resources
Application & Data Ownership
FlutterFlow Status - Is FlutterFlow Down?
Powered By
GitBook
Custom Action
Using Custom Action, you can execute a dart code from a package that is available on
pub.dev
.
Prerequisites
Before you start adding the Custom Action, you'll need to create one using the instructions
here
.
Adding Custom Action
Go to your project page on FlutterFlow and follow the steps below:
Select the
widget
on which you want to trigger the Custom Action.
Select
Actions
from the
Properties panel
(right menu).
Click
+ Add Action
button.
Choose a gesture from the dropdown among
On Tap
,
On Double Tap
, or
On Long Press
.
Select the
Action Type
as
Custom Action
.
Under the
Custom Action Name
, click on
Unset
and select your Custom Action.
(Optional) Click on the
Edit Custom Action
to see/modify your Custom
Action right from the UI Builder.
Under the
Set Function Arguments
, find your
argument name
(that you gave while creating Custom Action) and click on it to expand the section.
Set the
Value Source
to
From Variable
.
Set the
Source
and
Widget State
.
Set the
Available Options
to the TextField name.
Similarly set the other arguments if you have.
Enter the
Output Variable Name
in which the result of Custom Action will be stored.
Previous
RevenueCat Action
Next
Expand Image
Last modified
4mo ago
Copy link
Contents
Prerequisites
Adding Custom Action