fix: 修复官方SDK编译报错 - TargetPlatform.ohos/OhosInitializationSettings/BuildContext async gap

This commit is contained in:
Developer
2026-06-01 08:42:25 +08:00
parent 51ba11a12a
commit d2bbd5aeb8
5 changed files with 38 additions and 23 deletions

View File

@@ -80,6 +80,7 @@ class _RiveTabIconState extends State<RiveTabIcon> {
}
void _syncSelection() {
// ignore: deprecated_member_use
_controller?.stateMachine.boolean('isSelected')?.value = widget.isSelected;
}