RiveBuilder typedef

RiveBuilder = Widget Function(BuildContext context, RiveState state)

A function that builds a widget based on the state of the Rive file.

  • The context parameter is the context of the widget.
  • The state parameter is the current state of the Rive file.

Implementation

typedef RiveBuilder = Widget Function(
  BuildContext context,
  RiveState state,
);