rename (asset to entity)

This commit is contained in:
Nick Fisher
2024-02-15 15:16:56 +08:00
parent 935b876ce9
commit 2ae3f8c466
15 changed files with 108 additions and 41 deletions

View File

@@ -148,7 +148,7 @@ class ExampleWidgetState extends State<ExampleWidget> {
color: _controlled == entity ? Colors.green : Colors.black)),
IconButton(
onPressed: () async {
await _filamentController!.removeAsset(entity);
await _filamentController!.removeEntity(entity);
assets.remove(entity);
setState(() {});
},