Fix releasing dart packages (#1117)

This commit is contained in:
Fangjun Kuang
2024-07-13 10:51:54 +08:00
committed by GitHub
parent 117cd7bb8c
commit 4c626e89cf
3 changed files with 10 additions and 1 deletions

7
flutter/publish.md Normal file
View File

@@ -0,0 +1,7 @@
# Note
Before publishing a new version, please first run
```
flutter analyze
```
to check if there are any issues.

View File

@@ -1,7 +1,6 @@
// Copyright (c) 2024 Xiaomi Corporation
import 'dart:convert';
import 'dart:ffi';
import 'dart:typed_data';
import 'package:ffi/ffi.dart';

View File

@@ -46,6 +46,9 @@ dependencies:
# sherpa_onnx_ios:
# path: ../sherpa_onnx_ios
dev_dependencies:
flutter_lints: ^3.0.0
flutter:
plugin:
platforms: