diff --git a/docz/docs/03-demos/17-mobile/06-flutter.md b/docz/docs/03-demos/17-mobile/06-flutter.md index dfbb01c..ff98062 100644 --- a/docz/docs/03-demos/17-mobile/06-flutter.md +++ b/docz/docs/03-demos/17-mobile/06-flutter.md @@ -58,7 +58,7 @@ This demo was tested in the following environments: | OS | Device | Dart | Flutter | Dev Platform | Date | |:-----------|:------------------|:--------|:---------|:-------------|:-----------| | Android 35 | Pixel 9 Pro XL | `3.7.2` | `3.29.2` | `darwin-x64` | 2025-03-31 | -| iOS 18.3 | iPhone 16 Pro Max | `3.7.2` | `3.29.2` | `darwin-x64` | 2025-03-31 | +| iOS 26.3 | iPhone 13 Pro Max | `3.11.1`| `3.41.4` | `darwin-x64` | 2026-03-10 | | Android 36 | Pixel 9 Pro XL | `3.7.2` | `3.29.3` | `win11-x64` | 2054-04-28 | ::: @@ -297,6 +297,21 @@ error: Android sdkmanager not found. Update to the latest Android SDK and ensure Android Studio does not install `Android SDK Command-Line Tools` by default. It must be installed manually. +--- +To enable Android SDK Command-Line Tools via Android Studio follow this: + +Find SDK manager by searching it in *Search Everywhere* +![open_sdk_manager](pathname:///flutter/open_sdk_manager.png) + +Select **SDK Tools** from the top tab in the middle panel, then check **Android SDK Command-line Tools (latest)** and +click **OK**. + +![enbable_and_install_cmd_tools](pathname:///flutter/enbable_and_install_cmd_tools.png) + +A dialog will appear asking to download and install the tools. Click **OK** to continue. + +--- + Assuming the command-line tools are installed This was fixed by switching to Java 20, installing `Android SDK 33`, and rolling @@ -531,7 +546,7 @@ Once the app loads, stop the terminal process and close the simulator. 5) Install Flutter / Dart dependencies: ```bash -flutter pub add http csv flutter_js +flutter pub add http csv flutter_js collection ``` :::info pass @@ -555,7 +570,7 @@ As stated, "Developer Mode" must be enabled: 3) Reinstall dependencies: ```bash -flutter pub add http csv flutter_js +flutter pub add http csv flutter_js collection ``` ::: diff --git a/docz/static/flutter/enbable_and_install_cmd_tools.png b/docz/static/flutter/enbable_and_install_cmd_tools.png new file mode 100644 index 0000000..090bb7c Binary files /dev/null and b/docz/static/flutter/enbable_and_install_cmd_tools.png differ diff --git a/docz/static/flutter/main.dart b/docz/static/flutter/main.dart index 7fb1974..a63f11f 100644 --- a/docz/static/flutter/main.dart +++ b/docz/static/flutter/main.dart @@ -77,7 +77,7 @@ class SheetJSFlutterState extends State { XLSX.utils.sheet_to_csv(wb.Sheets[wb.SheetNames[0]]); """); setState(() { - _data = CsvToListConverter(eol: "\n").convert(func.stringResult); + _data = const CsvDecoder().convert(func.stringResult); }); } diff --git a/docz/static/flutter/open_sdk_manager.png b/docz/static/flutter/open_sdk_manager.png new file mode 100644 index 0000000..eab203e Binary files /dev/null and b/docz/static/flutter/open_sdk_manager.png differ