mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-11-08 08:58:27 +08:00
feat: Flutter get component predicate
Diffs= 9abd6ee16 feat: Flutter get component predicate (#7388) 8486c3445 Get rid of MetricsPath. (#7371) Co-authored-by: Anurag Devanapally <anurag.devanapally@aofl.com> Co-authored-by: Gordon <pggordonhayes@gmail.com>
This commit is contained in:
@ -27,7 +27,7 @@ class _LittleMachineState extends State<LittleMachine> {
|
||||
|
||||
// The artboard is the root of the animation and gets drawn in the
|
||||
// Rive widget.
|
||||
final artboard = file.mainArtboard;
|
||||
final artboard = file.mainArtboard.instance();
|
||||
var controller = StateMachineController.fromArtboard(
|
||||
artboard,
|
||||
'State Machine 1',
|
||||
|
||||
Reference in New Issue
Block a user