RiveBuilder typedef
RiveBuilder =
Widget Function(BuildContext context, RiveState state)
A function that builds a widget based on the state of the Rive file.
- The
contextparameter is the context of the widget. - The
stateparameter is the current state of the Rive file.
Implementation
typedef RiveBuilder = Widget Function(
BuildContext context,
RiveState state,
);