diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx index 9877dd10..9638e747 100644 --- a/docs/quickstart.mdx +++ b/docs/quickstart.mdx @@ -14,7 +14,7 @@ $ flutter pub add thermion_flutter -In `Podfile` +In `macos/Podfile`, make sure the `platform` entry refers to `13.0`. ``` platform :osx, '13.0' ``` @@ -26,7 +26,7 @@ open macos/Runner.xcworkspace and change the minimum deployment target to 13.0: -![images/macos_min_deployment.png] +![XCode screenshot](images/macos_min_deployment.png) @@ -43,9 +43,6 @@ flutter 3. Create an instance of `ThermionFlutterPlugin` in your app. ```dart -import 'package:thermion_flutter/thermion_flutter.dart'; -... - class _MyAppState extends State {   late ThermionFlutterPlugin _thermionFlutterPlugin;  late Future _thermionViewer; @@ -55,7 +52,8 @@ class _MyAppState extends State { } }``` -3. Add a `ThermionWidget` to your widget hierarchy + +4. Add a `ThermionWidget` to your widget hierarchy ```dart class _MyAppState extends State { @@ -64,7 +62,7 @@ class _MyAppState extends State { late Future _thermionViewer; void initState() {    _thermionFlutterPlugin = ThermionFlutterPlugin(); - _thermionViewer = _thermionFlutterPlugin.createViewer(); + _thermionViewer = _thermionFlutterPlugin.initialize(); }    Widget build(BuildContext context) {