HeroContainerBuilder typedef

HeroContainerBuilder = Widget Function(BuildContext context, VoidCallback action)

Signature for a function that builds the content widget for a HeroContainer with an action callback.

The action parameter is a callback function that can be used to trigger hero container actions such as opening the container.

Implementation

typedef HeroContainerBuilder = Widget Function(
    BuildContext context, VoidCallback action);