AgoraIO-Extensions / AgoraIO-Extensions/Agora-Flutter-SDK

Undefined name 'platformViewRegistry'

Offen
#2,291 10 Kommentare 4 Reaktionen 1 zugewiesene Person Beansprucht von @peilinok Auf GitHub ansehen
bug
Vorherrschende Sprache
Dart
Sterne
795
Forks
448
Ø Merge
12 Std. 19 Min.
Gemergte PRs (30 T.)
14

Beschreibung

### Version of the agora_rtc_engine

6.5.x 6.3.x

### Platforms affected

- [ ] Android
- [ ] iOS
- [ ] macOS
- [ ] Windows
- [x] Web

### Steps to reproduce

https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/pull/2273

### Expected results

no error

### Actual results

from @arthurbcd

> The ui.platformViewRegistry (currently deprecated) will be removed on the next flutter stable release.
Which throws:
Error: Undefined name 'platformViewRegistry'.
The solution is to use dart:ui_web instead of dart:ui, both available in flutter.

### Code sample

Code sample

```dart
[Paste your code here]
```

### Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

### Logs

Logs

```console
[Paste your logs here]
```

### Flutter Doctor output

Doctor output

```console
[Paste your output here]
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.