mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-11-09 09:37:10 +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:
@ -25,7 +25,7 @@ class _StateMachineSkillsState extends State<StateMachineSkills> {
|
||||
|
||||
// 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, 'Designer\'s Test');
|
||||
if (controller != null) {
|
||||
|
||||
Reference in New Issue
Block a user