doc update

This commit is contained in:
Nick Fisher
2024-06-17 10:09:57 +08:00
parent 701519f3a7
commit a6139f7eeb

View File

@@ -50,7 +50,8 @@ class _MyAppState extends State<MyApp> {
_thermionFlutterPlugin = ThermionFlutterPlugin();    _thermionFlutterPlugin = ThermionFlutterPlugin();   
_thermionViewer = _thermionFlutterPlugin.createViewer();  _thermionViewer = _thermionFlutterPlugin.createViewer(); 
} }
}``` }
```
4. Add a `ThermionWidget` to your widget hierarchy 4. Add a `ThermionWidget` to your widget hierarchy
@@ -73,7 +74,8 @@ class _MyAppState extends State<MyApp> {
        )          ) 
    )     )
    ]);      ]); 
}}``` }}
```
4. Add a button to load the model when pressed 4. Add a button to load the model when pressed
@@ -98,7 +100,8 @@ class _MyAppState extends State<MyApp> {
// TODO // TODO
})) }))
    ]);      ]); 
}}``` }}
```
5. Load a skybox and the glb asset 5. Load a skybox and the glb asset
```dart ```dart