Skip to main content

Meta

Type nameSupports Property AnimationsControlled by defaultMay contain associated actionLink
Meta✗✔️✗-

InheritedWidget that stores json containing meta information for the Duit view.

info

The value stored by the widget can be used as a data source for actions.

More

The widget can be useful in cases:

  • When it is necessary to transmit additional information about the UI element in the layout, which can be used during the execution of actions.
  • When it is necessary to store an intermediate state

Usage​

Meta(
&duit_attributes.MetaAttributes{
"key": "value",
"key2": "value2",
},
"id",
nil, //child
)