ai one Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our。 online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
pub run json_model src=jsons dist=models/xxx
dependencies retrofit: ^1.3.4 logger: ^0.9.1 dev_dependencies: build_runner: ^1.4.0 retrofit_generator: any
flutter pub run build_runner build
flutter packages pub run build_runner build --delete-conflicting-outputs
flutter run --flavor dev -t lib/main.dart
flutter run -d chrome --release --web-port=55140 // release在指定端口下运行,且此时可以访问在web/assets目录下未在pubspec.yaml申明的资源(手动拷贝到此目录的文件);
dart run intl_translation:extract_to_arb --output-dir=lib/l10n/arb lib/l10n/intl_messages.dart
dart run intl_translation:generate_from_arb --output-dir=lib/l10n/languages --no-use-deferred-loading lib/l10n/intl_messages.dart lib/l10n/arb/intl_*.arb