appflowy-editor/pubspec.yaml
Lucas f882d958d9
feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173)
* chore: update Flutter SDK to version 3.38.5

Upgrade Flutter from 3.32.4 to 3.38.5 to meet awesome_lints
requirement for Dart SDK 3.10.0+. Update CI workflow to use
the new Flutter version and add custom_lint verification step.

* chore: integrate awesome_lints with custom lint rules

Add awesome_lints and custom_lint dependencies, configure
analysis_options.yaml to enable newline lint rules: newline_before_case,
newline_before_constructor, newline_before_method, and newline_before_return.

* style: apply newline formatting per awesome_lints rules

Add blank lines before case clauses, return statements, method
declarations, and constructors throughout the codebase to comply
with awesome_lints newline rules.

* fix: replace deprecated translate with leftTranslateByDouble

Update Matrix4.translate() calls to use the new leftTranslateByDouble()
API to resolve deprecation warnings in Flutter SDK 3.38.5.

* chore: improve code readability with blank line formatting
2025-12-23 15:12:57 +08:00

84 lines
1.7 KiB
YAML

name: "appflowy_editor"
version: 6.1.0
homepage: "https://github.com/AppFlowy-IO/appflowy-editor"
environment:
sdk: ">=3.6.0 <4.0.0"
flutter: ">=3.32.0"
description: A highly customizable rich-text editor for Flutter. The AppFlowy
Editor project for AppFlowy and beyond.
dependencies:
collection: "^1.18.0"
device_info_plus: "^11.0.0"
diff_match_patch: "^0.4.1"
file_picker: ^10.2.0
flutter:
sdk: flutter
flutter_svg: "^2.0.6"
html: ^0.15.5
http: "^1.2.0"
intl: "^0.20.2"
keyboard_height_plugin: "^0.1.5"
logging: "^1.2.0"
markdown: "^7.2.1"
nanoid: "^1.0.0"
numerus: "^2.1.2"
pdf: "^3.10.7"
provider: "^6.0.5"
scroll_to_index: "^3.0.1"
string_validator: "^1.0.0"
universal_html: "^2.2.4"
universal_platform: ^1.1.0
url_launcher: "^6.1.11"
dev_dependencies:
awesome_lints:
git:
url: https://github.com/LucasXu0/awesome_lints.git
ref: main
custom_lint: ^0.8.1
flutter_lints: ^6.0.0
flutter_localizations:
sdk: flutter
flutter_test:
sdk: flutter
intl_utils: "^2.8.2"
mockito: "^5.4.1"
network_image_mock: "^2.1.1"
path_provider: "^2.0.5"
pubspec_dependency_sorter: "^1.0.5"
platforms:
android:
ios:
linux:
macos:
windows:
web:
topics:
- widgets
- editor
- appflowy
flutter:
assets:
- "assets/images/toolbar/"
- "assets/images/selection_menu/"
- "assets/images/image_toolbar/"
- "assets/images/"
- "assets/mobile/toolbar_icons/"
flutter_intl:
enabled: true
class_name: AppFlowyEditorLocalizations
main_locale: en
arb_dir: lib/l10n
output_dir: lib/src/l10n
use_deferred_loading: false
localizely:
project_id: b7199c7d-eca0-4025-894d-230cdcafa9aa