Access AppState Variables in CustomAction

Custom Code
Resolved

Can anyone show a few examples, how I can access Variables from AppState in a CustomAction / CustomFunction ?

E.g. I have a DataType "Database" with field "Id"

And a DataType "Databases" with Field "Databases" which is a List<Database>

How can I create this structure by calling a CustomAction ?

What have you tried so far?

I tried to call a CustomAction in HomePage's OnLoad
to create data in AppState.

Did you check FlutterFlow's Documentation for this topic?
Yes
6 replies