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

Undefined name 'platformViewRegistry'

Aperta
#2,291 10 commenti 4 reazioni 1 assegnatario Rivendicata da @peilinok Vedi su GitHub
bug
Lingua principale
Dart
Stelle
795
Fork
448
Merge medio
12h 19m
PR unite (30g)
14

Descrizione

### 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]
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.