https://github.com/jaredsburrows/flutter-app-playground
A playground for Flutter.
https://github.com/jaredsburrows/flutter-app-playground
flutter mobile-app
Last synced: about 2 months ago
JSON representation
A playground for Flutter.
- Host: GitHub
- URL: https://github.com/jaredsburrows/flutter-app-playground
- Owner: jaredsburrows
- License: apache-2.0
- Created: 2022-02-26T03:19:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T01:47:20.000Z (over 1 year ago)
- Last Synced: 2025-02-01T18:11:12.863Z (over 1 year ago)
- Topics: flutter, mobile-app
- Language: Dart
- Homepage: https://jaredsburrows.github.io/flutter-app-playground/
- Size: 56.7 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter Playground
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://github.com/jaredsburrows/flutter-app-playground/actions/workflows/build.yml)
[](https://twitter.com/jaredsburrows)
## Setup
**Flutter**
```shell
rm pubspec.lock
rm ios/Podfile.lock
flutter upgrade
flutter pub get
flutter pub upgrade
```
**Build All**
```shell
flutter build apk --debug
flutter build ios --debug --no-codesign
flutter build web
```
## Build the Android app
**Debug**
```shell
flutter build apk --debug
```
**Release APK**
```shell
flutter build apk --release --obfuscate --split-debug-info build/app/outputs/symbols-apk/ --target-platform android-arm64
```
**Release Bundle**
```shell
flutter build appbundle --release --obfuscate --split-debug-info build/app/outputs/symbols-appbundle --target-platform android-arm64
```
## Build the iOS app
**Debug**
```shell
flutter build ios --debug --no-codesign
```
**Release**
```shell
flutter build ios --release --obfuscate --split-debug-info build/ios/outputs/symbols
```
## Build the Web app
**Debug**
```shell
flutter build web
```
**Release**
```shell
flutter build web --base-href /flutter-app-playground/
```
## Testing
**Run unit tests with coverage**
```shell
flutter test --coverage
```
## Reports
**Run analyzer**
```shell
flutter analyze
```
## Local Debug Run
```shell
rm -f pubspec.lock && \
flutter clean && \
flutter upgrade && \
flutter pub get && \
flutter pub upgrade --major-versions && \
osv-scanner -r . && \
dart fix --dry-run && \
dart fix --apply && \
dart format . && \
flutter analyze && \
flutter test --platform=chrome --test-randomize-ordering-seed=random && \
flutter build ios --debug --no-codesign && \
flutter build apk --debug && \
flutter build web
```