From f3d043d824a4ce44d9c4bf54727bfb1fe66dff68 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Mon, 17 Jun 2024 10:11:32 +0800 Subject: [PATCH] doc update --- docs/quickstart.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx index 7d14019d..ae69e303 100644 --- a/docs/quickstart.mdx +++ b/docs/quickstart.mdx @@ -43,6 +43,7 @@ flutter 3. Create an instance of `ThermionFlutterPlugin` in your app. ```dart + class _MyAppState extends State {   late ThermionFlutterPlugin _thermionFlutterPlugin;  late Future _thermionViewer; @@ -51,12 +52,14 @@ class _MyAppState extends State { _thermionViewer = _thermionFlutterPlugin.createViewer();  } } + ``` 4. Add a `ThermionWidget` to your widget hierarchy ```dart + class _MyAppState extends State { late ThermionFlutterPlugin _thermionFlutterPlugin;  @@ -74,7 +77,9 @@ class _MyAppState extends State {         )      )     ]);  -}} + } +} + ``` 4. Add a button to load the model when pressed