demo(flutter): updated

This commit is contained in:
Asad Karimov 2026-03-10 22:55:39 -04:00
parent f5aabe0c29
commit fc5a19d6cd
4 changed files with 19 additions and 4 deletions

@ -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
```
:::

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

@ -77,7 +77,7 @@ class SheetJSFlutterState extends State<SheetJSFlutter> {
XLSX.utils.sheet_to_csv(wb.Sheets[wb.SheetNames[0]]);
""");
setState(() {
_data = CsvToListConverter(eol: "\n").convert(func.stringResult);
_data = const CsvDecoder().convert(func.stringResult);
});
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 KiB