mirror of
https://github.com/flutter/holobooth.git
synced 2025-05-17 05:16:00 +08:00
chore: bump Flutter and Dart SDK to latest versions (#438)
<!-- Thanks for contributing! Provide a description of your changes below and a general summary in the title Please look at the following checklist to ensure that your PR can be accepted quickly: --> ## Description Changes: - Bump min dart SDK to 2.19.0 - Bump Flutter version to 3.7.12 - Used Very Good Analysis 4.0.0 - Corrected new analyzer issues - Dart format ## Type of Change <!--- Put an `x` in all the boxes that apply: --> - [ ] ✨ New feature (non-breaking change which adds functionality) - [ ] 🛠️ Bug fix (non-breaking change which fixes an issue) - [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change) - [ ] 🧹 Code refactor - [ ] ✅ Build configuration change - [ ] 📝 Documentation - [X] 🗑️ Chore
This commit is contained in:

committed by
GitHub

parent
d9b2e027cd
commit
cb6741cc8e
@ -17,5 +17,5 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
working_directory: packages/authentication_repository
|
||||
|
@ -17,5 +17,5 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
working_directory: packages/avatar_detector_repository
|
||||
|
2
.github/workflows/convert_repository.yaml
vendored
2
.github/workflows/convert_repository.yaml
vendored
@ -17,6 +17,6 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
coverage_excludes: "**/*.gen.dart"
|
||||
working_directory: packages/convert_repository
|
||||
|
2
.github/workflows/deploy_app_dev.yaml
vendored
2
.github/workflows/deploy_app_dev.yaml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: "3.7.1"
|
||||
flutter-version: "3.7.12"
|
||||
channel: "stable"
|
||||
- run: flutter packages get
|
||||
- run: flutter build web --web-renderer canvaskit -t lib/main_dev.dart --dart-define SHARING_ENABLED=true
|
||||
|
2
.github/workflows/deploy_app_production.yaml
vendored
2
.github/workflows/deploy_app_production.yaml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: "3.7.1"
|
||||
flutter-version: "3.7.12"
|
||||
channel: "stable"
|
||||
- run: flutter packages get
|
||||
- run: flutter build web --web-renderer canvaskit -t lib/main_prod.dart --dart-define SHARING_ENABLED=true
|
||||
|
2
.github/workflows/deploy_app_staging.yaml
vendored
2
.github/workflows/deploy_app_staging.yaml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: "3.7.1"
|
||||
flutter-version: "3.7.12"
|
||||
channel: "stable"
|
||||
- run: flutter packages get
|
||||
- run: flutter build web --web-renderer canvaskit -t lib/main_dev.dart
|
||||
|
2
.github/workflows/download_repository.yaml
vendored
2
.github/workflows/download_repository.yaml
vendored
@ -17,6 +17,6 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
coverage_excludes: "**/*.gen.dart"
|
||||
working_directory: packages/download_repository
|
||||
|
2
.github/workflows/face_geometry.yaml
vendored
2
.github/workflows/face_geometry.yaml
vendored
@ -17,5 +17,5 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
working_directory: packages/face_geometry
|
||||
|
2
.github/workflows/holobooth_ui.yaml
vendored
2
.github/workflows/holobooth_ui.yaml
vendored
@ -17,5 +17,5 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
working_directory: packages/holobooth_ui
|
||||
|
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
@ -17,5 +17,5 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
coverage_excludes: "**/*.g.dart"
|
||||
|
2
.github/workflows/tensorflow_models.yaml
vendored
2
.github/workflows/tensorflow_models.yaml
vendored
@ -13,5 +13,5 @@ jobs:
|
||||
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
|
||||
with:
|
||||
flutter_channel: "stable"
|
||||
flutter_version: 3.7.1
|
||||
flutter_version: 3.7.12
|
||||
working_directory: packages/tensorflow_models/tensorflow_models
|
||||
|
2
.github/workflows/tensorflow_models_web.yaml
vendored
2
.github/workflows/tensorflow_models_web.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
- name: 🐦 Setup Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: 3.7.1
|
||||
flutter-version: 3.7.12
|
||||
channel: "stable"
|
||||
cache: true
|
||||
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}
|
||||
|
@ -1,4 +1,4 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
analyzer:
|
||||
exclude:
|
||||
- lib/firebase_options_dev.dart
|
||||
|
@ -13,12 +13,12 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class App extends StatelessWidget {
|
||||
const App({
|
||||
super.key,
|
||||
required this.authenticationRepository,
|
||||
required this.avatarDetectorRepository,
|
||||
required this.convertRepository,
|
||||
required this.downloadRepository,
|
||||
required this.analyticsRepository,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final AuthenticationRepository authenticationRepository;
|
||||
|
@ -18,13 +18,13 @@ class AudioPlayerController {
|
||||
|
||||
class AudioPlayer extends StatefulWidget {
|
||||
const AudioPlayer({
|
||||
super.key,
|
||||
required this.audioAssetPath,
|
||||
required this.child,
|
||||
this.controller,
|
||||
this.loop = false,
|
||||
this.autoplay = false,
|
||||
this.onAudioFinished,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final String audioAssetPath;
|
||||
|
@ -5,8 +5,8 @@ import 'package:holobooth/avatar_detector/avatar_detector.dart';
|
||||
|
||||
class CameraStreamListener extends StatefulWidget {
|
||||
const CameraStreamListener({
|
||||
super.key,
|
||||
required this.cameraController,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final CameraController cameraController;
|
||||
|
@ -4,7 +4,7 @@ import 'package:holobooth/l10n/l10n.dart';
|
||||
import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class CameraErrorView extends StatelessWidget {
|
||||
const CameraErrorView({super.key, required this.error});
|
||||
const CameraErrorView({required this.error, super.key});
|
||||
|
||||
final CameraException error;
|
||||
|
||||
|
@ -73,7 +73,10 @@ class CameraSelectionDropdown extends StatelessWidget {
|
||||
}
|
||||
|
||||
class _CameraErrorView extends StatelessWidget {
|
||||
const _CameraErrorView({super.key, required this.error});
|
||||
const _CameraErrorView({
|
||||
required this.error,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final Object error;
|
||||
|
||||
|
@ -6,9 +6,9 @@ import 'package:holobooth/camera/camera.dart';
|
||||
|
||||
class CameraView extends StatefulWidget {
|
||||
const CameraView({
|
||||
super.key,
|
||||
required this.onCameraReady,
|
||||
this.camera,
|
||||
super.key,
|
||||
});
|
||||
|
||||
@visibleForTesting
|
||||
|
@ -122,7 +122,7 @@ class _ConvertViewState extends State<ConvertView> {
|
||||
|
||||
@visibleForTesting
|
||||
class ConvertBody extends StatelessWidget {
|
||||
const ConvertBody({super.key, required this.camera});
|
||||
const ConvertBody({required this.camera, super.key});
|
||||
|
||||
final CameraDescription? camera;
|
||||
|
||||
|
@ -13,9 +13,9 @@ enum ConvertErrorOrigin {
|
||||
|
||||
class ConvertErrorView extends StatelessWidget {
|
||||
const ConvertErrorView({
|
||||
super.key,
|
||||
required this.convertErrorOrigin,
|
||||
this.camera,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final ConvertErrorOrigin convertErrorOrigin;
|
||||
@ -93,7 +93,7 @@ class TryAgainFrameProcessingButton extends StatelessWidget {
|
||||
|
||||
@visibleForTesting
|
||||
class RetakeExperienceButton extends StatelessWidget {
|
||||
const RetakeExperienceButton({super.key, required this.camera});
|
||||
const RetakeExperienceButton({required this.camera, super.key});
|
||||
|
||||
final CameraDescription? camera;
|
||||
|
||||
|
@ -5,8 +5,8 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class ConvertLoadingAnimation extends StatelessWidget {
|
||||
const ConvertLoadingAnimation({
|
||||
super.key,
|
||||
required this.dimension,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final double dimension;
|
||||
|
@ -5,9 +5,9 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class FooterLink extends StatelessWidget {
|
||||
const FooterLink({
|
||||
super.key,
|
||||
required this.text,
|
||||
required this.link,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final String text;
|
||||
|
@ -5,7 +5,7 @@ import 'package:holobooth/l10n/l10n.dart';
|
||||
import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class NextButton extends StatefulWidget {
|
||||
const NextButton({super.key, required this.onNextPressed});
|
||||
const NextButton({required this.onNextPressed, super.key});
|
||||
|
||||
final VoidCallback onNextPressed;
|
||||
|
||||
|
@ -161,8 +161,8 @@ class _PrimarySelectionViewState extends State<PrimarySelectionView>
|
||||
@visibleForTesting
|
||||
class PrimarySelectionTab extends StatefulWidget {
|
||||
const PrimarySelectionTab({
|
||||
super.key,
|
||||
required this.iconData,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final IconData iconData;
|
||||
|
@ -3,9 +3,9 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class PropsScrollView extends StatelessWidget {
|
||||
const PropsScrollView({
|
||||
super.key,
|
||||
required this.itemBuilder,
|
||||
required this.itemCount,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final Widget? Function(BuildContext context, int index) itemBuilder;
|
||||
|
@ -117,8 +117,8 @@ class _PropsSelectionTabBarViewState extends State<PropsSelectionTabBarView>
|
||||
|
||||
class _PropSelectionTab extends StatefulWidget {
|
||||
const _PropSelectionTab({
|
||||
super.key,
|
||||
required this.assetGenImage,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final AssetGenImage assetGenImage;
|
||||
|
@ -5,7 +5,7 @@ import 'package:holobooth/l10n/l10n.dart';
|
||||
import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class RecordingButton extends StatefulWidget {
|
||||
const RecordingButton({super.key, required this.onRecordingPressed});
|
||||
const RecordingButton({required this.onRecordingPressed, super.key});
|
||||
|
||||
final VoidCallback onRecordingPressed;
|
||||
|
||||
|
@ -82,9 +82,9 @@ class _MobileSelectionLayerState extends State<MobileSelectionLayer> {
|
||||
@visibleForTesting
|
||||
class CollapseButton extends StatelessWidget {
|
||||
const CollapseButton({
|
||||
super.key,
|
||||
required this.onPressed,
|
||||
required this.collapsed,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final VoidCallback onPressed;
|
||||
|
@ -6,8 +6,8 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class GetReadyLayer extends StatefulWidget {
|
||||
const GetReadyLayer({
|
||||
super.key,
|
||||
required this.onCountdownCompleted,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final VoidCallback onCountdownCompleted;
|
||||
@ -61,8 +61,8 @@ class _GetReadyLayerState extends State<GetReadyLayer>
|
||||
@visibleForTesting
|
||||
class GetReadyCountdown extends StatelessWidget {
|
||||
const GetReadyCountdown({
|
||||
super.key,
|
||||
required this.controller,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final AnimationController controller;
|
||||
|
@ -6,8 +6,8 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class RecordingCountdown extends StatefulWidget {
|
||||
const RecordingCountdown({
|
||||
super.key,
|
||||
required this.onCountdownCompleted,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final VoidCallback onCountdownCompleted;
|
||||
@ -65,7 +65,7 @@ class _RecordingCountdownState extends State<RecordingCountdown>
|
||||
|
||||
@visibleForTesting
|
||||
class CountdownTimer extends StatelessWidget {
|
||||
const CountdownTimer({super.key, required this.controller});
|
||||
const CountdownTimer({required this.controller, super.key});
|
||||
|
||||
final AnimationController controller;
|
||||
|
||||
|
@ -3,8 +3,8 @@ import 'package:rive/rive.dart';
|
||||
|
||||
class BackgroundAnimation extends StatefulWidget {
|
||||
const BackgroundAnimation({
|
||||
super.key,
|
||||
required this.riveFile,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final RiveFile riveFile;
|
||||
|
@ -49,13 +49,13 @@ class RiveCharacter {
|
||||
@visibleForTesting
|
||||
class CharacterAnimation extends StatefulWidget {
|
||||
const CharacterAnimation({
|
||||
super.key,
|
||||
required this.avatar,
|
||||
required this.hat,
|
||||
required this.glasses,
|
||||
required this.clothes,
|
||||
required this.handheldlLeft,
|
||||
required this.riveCharacter,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final Avatar avatar;
|
||||
|
@ -9,9 +9,9 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class SharePage extends StatelessWidget {
|
||||
const SharePage({
|
||||
super.key,
|
||||
required this.convertBloc,
|
||||
this.camera,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final ConvertBloc convertBloc;
|
||||
|
@ -99,9 +99,9 @@ class _DownloadButtonState extends State<DownloadButton> {
|
||||
|
||||
class DownloadOptionDialog extends StatelessWidget {
|
||||
const DownloadOptionDialog({
|
||||
super.key,
|
||||
required this.layerLink,
|
||||
required this.url,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final LayerLink layerLink;
|
||||
@ -136,7 +136,7 @@ class DownloadOptionDialog extends StatelessWidget {
|
||||
}
|
||||
|
||||
class DownloadAsAGifButton extends StatelessWidget {
|
||||
const DownloadAsAGifButton({super.key, required this.url});
|
||||
const DownloadAsAGifButton({required this.url, super.key});
|
||||
|
||||
final String url;
|
||||
|
||||
@ -168,7 +168,7 @@ class DownloadAsAGifButton extends StatelessWidget {
|
||||
}
|
||||
|
||||
class DownloadAsAVideoButton extends StatelessWidget {
|
||||
const DownloadAsAVideoButton({super.key, required this.url});
|
||||
const DownloadAsAVideoButton({required this.url, super.key});
|
||||
|
||||
final String url;
|
||||
|
||||
|
@ -68,10 +68,10 @@ class PortalModeData {
|
||||
|
||||
class PortalAnimation extends StatefulWidget {
|
||||
const PortalAnimation({
|
||||
super.key,
|
||||
required this.mode,
|
||||
required this.imageBytes,
|
||||
required this.onComplete,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final PortalMode mode;
|
||||
|
@ -5,7 +5,7 @@ import 'package:holobooth/photo_booth/photo_booth.dart';
|
||||
import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class RetakeButton extends StatelessWidget {
|
||||
const RetakeButton({super.key, required this.camera});
|
||||
const RetakeButton({required this.camera, super.key});
|
||||
|
||||
final CameraDescription? camera;
|
||||
|
||||
|
@ -42,9 +42,9 @@ class ShareBody extends StatelessWidget {
|
||||
@visibleForTesting
|
||||
class SmallShareBody extends StatelessWidget {
|
||||
const SmallShareBody({
|
||||
super.key,
|
||||
required this.isMobile,
|
||||
required this.camera,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final bool isMobile;
|
||||
@ -74,9 +74,9 @@ class SmallShareBody extends StatelessWidget {
|
||||
@visibleForTesting
|
||||
class LargeShareBody extends StatelessWidget {
|
||||
const LargeShareBody({
|
||||
super.key,
|
||||
required this.isMobile,
|
||||
required this.camera,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final bool isMobile;
|
||||
@ -118,9 +118,9 @@ class LargeShareBody extends StatelessWidget {
|
||||
@visibleForTesting
|
||||
class PortalAnimationView extends StatefulWidget {
|
||||
const PortalAnimationView({
|
||||
super.key,
|
||||
required this.thumbnail,
|
||||
required this.mode,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final Uint8List thumbnail;
|
||||
|
@ -3,7 +3,7 @@ import 'package:holobooth/assets/assets.dart';
|
||||
import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class ShareDialogCloseButton extends StatelessWidget {
|
||||
const ShareDialogCloseButton({super.key, required this.size});
|
||||
const ShareDialogCloseButton({required this.size, super.key});
|
||||
|
||||
final double size;
|
||||
|
||||
|
@ -6,8 +6,8 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class VideoDialogLauncher extends StatelessWidget {
|
||||
const VideoDialogLauncher({
|
||||
super.key,
|
||||
required this.convertBloc,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final ConvertBloc convertBloc;
|
||||
@ -35,7 +35,7 @@ class VideoDialogLauncher extends StatelessWidget {
|
||||
}
|
||||
|
||||
class VideoDialog extends StatefulWidget {
|
||||
const VideoDialog({super.key, required this.videoPath});
|
||||
const VideoDialog({required this.videoPath, super.key});
|
||||
|
||||
final String videoPath;
|
||||
|
||||
|
@ -6,9 +6,9 @@ import 'package:video_player/video_player.dart';
|
||||
|
||||
class VideoPlayerView extends StatefulWidget {
|
||||
const VideoPlayerView({
|
||||
super.key,
|
||||
required this.url,
|
||||
this.onInitialized,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final String url;
|
||||
@ -240,9 +240,9 @@ class _Controls extends StatelessWidget {
|
||||
|
||||
class VideoProgressBar extends StatelessWidget {
|
||||
const VideoProgressBar({
|
||||
super.key,
|
||||
required this.currentPosition,
|
||||
required this.totalDuration,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final Duration currentPosition;
|
||||
|
@ -5,9 +5,9 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
|
||||
class IconLink extends StatelessWidget {
|
||||
const IconLink({
|
||||
super.key,
|
||||
required this.icon,
|
||||
required this.link,
|
||||
super.key,
|
||||
});
|
||||
|
||||
final Widget icon;
|
||||
|
@ -1 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -4,7 +4,7 @@ version: 0.1.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
equatable: ^2.0.5
|
||||
@ -14,4 +14,4 @@ dependencies:
|
||||
dev_dependencies:
|
||||
mocktail: ^0.3.0
|
||||
test: ^1.19.2
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -1,3 +1 @@
|
||||
library authentication_repository;
|
||||
|
||||
export 'src/authentication_repository.dart';
|
||||
|
@ -3,7 +3,7 @@ description: Repository which manages user authentication using Firebase Authent
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
equatable: ^2.0.5
|
||||
@ -16,4 +16,4 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
mocktail: ^0.1.1
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -4,7 +4,7 @@ version: 0.1.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
equatable: ^2.0.5
|
||||
@ -20,4 +20,4 @@ dev_dependencies:
|
||||
mocktail: ^0.3.0
|
||||
plugin_platform_interface: ^2.1.3
|
||||
test: ^1.19.2
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -4,17 +4,16 @@ version: 0.1.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
flutter: 3.3.7
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
flutter: 3.7.12
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
http: ^0.13.5
|
||||
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
mocktail: ^0.3.0
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -4,8 +4,8 @@ version: 0.1.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
flutter: 3.3.7
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
flutter: 3.7.12
|
||||
|
||||
dependencies:
|
||||
camera: ^0.10.0+3
|
||||
@ -17,4 +17,4 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
mocktail: ^0.3.0
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -1,4 +1,2 @@
|
||||
library face_geometry;
|
||||
|
||||
export 'src/face_geometry.dart';
|
||||
export 'src/models/models.dart';
|
||||
|
@ -107,10 +107,10 @@ extension NormalizeKeypoint on tf.Keypoint {
|
||||
extension NormalizeNum on num {
|
||||
/// {@macro normalize_number}
|
||||
double normalize({
|
||||
num fromMin = 0,
|
||||
required num fromMax,
|
||||
num toMin = 0,
|
||||
required num toMax,
|
||||
num fromMin = 0,
|
||||
num toMin = 0,
|
||||
}) {
|
||||
return (toMax - toMin) * ((this - fromMin) / (fromMax - fromMin)) + toMin;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ version: 1.0.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.17.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
equatable: ^2.0.5
|
||||
@ -15,4 +15,4 @@ dependencies:
|
||||
dev_dependencies:
|
||||
mocktail: ^0.3.0
|
||||
test: ^1.19.2
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
linter:
|
||||
rules:
|
||||
avoid_web_libraries_in_flutter: false
|
||||
|
@ -1,4 +1,2 @@
|
||||
library firebase_analytics_client;
|
||||
|
||||
export 'src/firebase_analytics_client_io.dart'
|
||||
if (dart.library.html) 'src/firebase_analytics_client_web.dart';
|
||||
|
@ -2,7 +2,7 @@ name: firebase_analytics_client
|
||||
description: A Flutter package which adds analytics support
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
meta: ^1.7.0
|
||||
@ -10,4 +10,4 @@ dependencies:
|
||||
dev_dependencies:
|
||||
mocktail: ^0.1.1
|
||||
test: ^1.21.5
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1,4 +1,6 @@
|
||||
@TestOn('!chrome')
|
||||
library firebase_analytics_client_io_test;
|
||||
|
||||
import 'package:firebase_analytics_client/firebase_analytics_client.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
@TestOn('chrome')
|
||||
library firebase_analytics_client_web_test;
|
||||
|
||||
import 'dart:js';
|
||||
|
||||
|
@ -1 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -1,4 +1 @@
|
||||
include: package:very_good_analysis/analysis_options.yaml
|
||||
|
||||
linter:
|
||||
rules:
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
@ -1,12 +1,12 @@
|
||||
name: gallery
|
||||
description: UI gallery for the photoboth ui.
|
||||
|
||||
publish_to: 'none'
|
||||
publish_to: "none"
|
||||
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: '>=2.19.0-374.1.beta <3.0.0'
|
||||
sdk: ">=2.19.0-374.1.beta <3.0.0"
|
||||
|
||||
dependencies:
|
||||
cupertino_icons: ^1.0.2
|
||||
@ -20,7 +20,7 @@ dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
|
@ -1,5 +1,3 @@
|
||||
library holobooth_ui;
|
||||
|
||||
export 'package:flame/flame.dart' show Flame;
|
||||
|
||||
export 'src/colors.dart';
|
||||
|
@ -8,9 +8,9 @@ const _defaultFadeInDuration = Duration(seconds: 1);
|
||||
class AnimatedFadeIn extends StatefulWidget {
|
||||
/// {@macro animated_fade_in}
|
||||
const AnimatedFadeIn({
|
||||
super.key,
|
||||
required this.child,
|
||||
this.duration = _defaultFadeInDuration,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// The child which will be faded in.
|
||||
|
@ -50,11 +50,11 @@ enum AnimationMode {
|
||||
class AnimatedSprite extends StatefulWidget {
|
||||
/// {@macro animated_sprite}
|
||||
const AnimatedSprite({
|
||||
super.key,
|
||||
required this.sprites,
|
||||
this.mode = AnimationMode.loop,
|
||||
this.showLoadingIndicator = true,
|
||||
this.loadingIndicatorColor = HoloBoothColors.orange,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// The collection of sprites which will be animated.
|
||||
|
@ -8,10 +8,10 @@ class AppAnimatedCrossFade extends StatelessWidget {
|
||||
/// {@macro app_animated_cross_fade}
|
||||
|
||||
const AppAnimatedCrossFade({
|
||||
super.key,
|
||||
required this.firstChild,
|
||||
required this.secondChild,
|
||||
required this.crossFadeState,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// First [Widget] to display
|
||||
|
@ -9,7 +9,6 @@ import 'package:flutter/material.dart';
|
||||
class BlurryContainer extends StatelessWidget {
|
||||
/// {@macro blurry_container}
|
||||
const BlurryContainer({
|
||||
super.key,
|
||||
required this.child,
|
||||
this.height,
|
||||
this.width,
|
||||
@ -17,6 +16,7 @@ class BlurryContainer extends StatelessWidget {
|
||||
this.color = Colors.transparent,
|
||||
this.padding = EdgeInsets.zero,
|
||||
this.borderRadius = BorderRadius.zero,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// The child shown in top of the container.
|
||||
|
@ -6,9 +6,9 @@ import 'package:flutter/material.dart';
|
||||
class Clickable extends StatelessWidget {
|
||||
/// {@macro clickable}
|
||||
const Clickable({
|
||||
super.key,
|
||||
required this.child,
|
||||
required this.onPressed,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// Child to be rendered
|
||||
|
@ -10,9 +10,9 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
class GradientElevatedButton extends StatelessWidget {
|
||||
/// {@macro gradient_evelevated_button}
|
||||
const GradientElevatedButton({
|
||||
super.key,
|
||||
required this.child,
|
||||
required this.onPressed,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// Button's child.
|
||||
|
@ -7,7 +7,6 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
class GradientFrame extends StatelessWidget {
|
||||
/// {@macro gradient_frame}
|
||||
const GradientFrame({
|
||||
super.key,
|
||||
required this.child,
|
||||
this.height,
|
||||
this.width,
|
||||
@ -15,6 +14,7 @@ class GradientFrame extends StatelessWidget {
|
||||
this.borderRadius = 38,
|
||||
this.backgroundColor,
|
||||
this.gradient,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// Child of the frame.
|
||||
|
@ -8,11 +8,11 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
class GradientOutlinedButton extends StatelessWidget {
|
||||
/// {@macro gradient_outlined_button}
|
||||
const GradientOutlinedButton({
|
||||
super.key,
|
||||
this.onPressed,
|
||||
required this.icon,
|
||||
required this.label,
|
||||
this.onPressed,
|
||||
this.loading = false,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// Called when the button is pressed.
|
||||
|
@ -8,11 +8,11 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
class GradientText extends StatelessWidget {
|
||||
/// {@macro gradient_text}
|
||||
const GradientText({
|
||||
super.key,
|
||||
required this.text,
|
||||
this.style,
|
||||
this.textAlign,
|
||||
this.gradient = HoloBoothGradients.secondaryFour,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// The text.
|
||||
|
@ -7,11 +7,11 @@ import 'package:holobooth_ui/holobooth_ui.dart';
|
||||
class HoloBoothAlertDialog extends StatelessWidget {
|
||||
/// {@macro holo_booth_alert_dialog}
|
||||
const HoloBoothAlertDialog({
|
||||
super.key,
|
||||
required this.child,
|
||||
this.height,
|
||||
this.width,
|
||||
this.borderRadius = 38,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// Widget wrapped on the dialog.
|
||||
|
@ -7,9 +7,9 @@ import 'package:platform_helper/platform_helper.dart';
|
||||
class PlatformBuilder extends StatelessWidget {
|
||||
/// {@macro platform_builder}
|
||||
PlatformBuilder({
|
||||
super.key,
|
||||
required this.mobile,
|
||||
required this.desktop,
|
||||
super.key,
|
||||
PlatformHelper? platformHelper,
|
||||
}) : _platformHelper = platformHelper ?? PlatformHelper();
|
||||
|
||||
|
@ -6,10 +6,10 @@ import 'package:flutter/material.dart';
|
||||
class PreviewImage extends StatelessWidget {
|
||||
/// {@macro preview_image}
|
||||
const PreviewImage({
|
||||
super.key,
|
||||
required this.data,
|
||||
this.height,
|
||||
this.width,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// Data URI representing the data of the image
|
||||
|
@ -11,12 +11,12 @@ typedef ResponsiveLayoutWidgetBuilder = Widget Function(BuildContext, Widget?);
|
||||
class ResponsiveLayoutBuilder extends StatelessWidget {
|
||||
/// {@macro responsive_layout_builder}
|
||||
const ResponsiveLayoutBuilder({
|
||||
super.key,
|
||||
required this.small,
|
||||
required this.large,
|
||||
this.medium,
|
||||
this.xLarge,
|
||||
this.child,
|
||||
super.key,
|
||||
});
|
||||
|
||||
/// [ResponsiveLayoutWidgetBuilder] for small layout.
|
||||
|
@ -4,7 +4,7 @@ version: 1.0.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
equatable: ^2.0.5
|
||||
@ -23,7 +23,7 @@ dev_dependencies:
|
||||
mocktail: ^0.1.1
|
||||
plugin_platform_interface: ^2.1.3
|
||||
url_launcher_platform_interface: ^2.1.0
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
|
@ -4,6 +4,6 @@ version: 1.0.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.17.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
dependencies:
|
||||
js: ^0.6.4
|
||||
|
@ -2,7 +2,7 @@ name: platform_helper
|
||||
description: A Dart package which helps detect the host platform
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
meta: ^1.8.0
|
||||
@ -10,4 +10,4 @@ dependencies:
|
||||
dev_dependencies:
|
||||
mocktail: ^0.1.1
|
||||
test: ^1.21.5
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
linter:
|
||||
rules:
|
||||
public_member_api_docs: false
|
||||
|
@ -1,4 +1,9 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
|
||||
linter:
|
||||
rules:
|
||||
public_member_api_docs: false
|
||||
|
||||
analyzer:
|
||||
exclude:
|
||||
- lib/**/*.gen.dart
|
||||
|
@ -4,7 +4,7 @@ import 'package:flutter/material.dart';
|
||||
void main() => runApp(const MaterialApp(home: _App()));
|
||||
|
||||
class _App extends StatelessWidget {
|
||||
const _App({Key? key}) : super(key: key);
|
||||
const _App();
|
||||
|
||||
static final _pages = <String, Route<void> Function()>{
|
||||
'Landmarks Video Stream': LandmarksVideoStreamPage.route,
|
||||
|
@ -8,7 +8,7 @@ import 'package:rive/rive.dart';
|
||||
import 'package:tensorflow_models/tensorflow_models.dart' as tf;
|
||||
|
||||
class LandmarksDashPage extends StatelessWidget {
|
||||
const LandmarksDashPage({Key? key}) : super(key: key);
|
||||
const LandmarksDashPage({super.key});
|
||||
|
||||
static Route<void> route() =>
|
||||
MaterialPageRoute(builder: (_) => const LandmarksDashPage());
|
||||
@ -18,7 +18,7 @@ class LandmarksDashPage extends StatelessWidget {
|
||||
}
|
||||
|
||||
class _LandmarksDashView extends StatefulWidget {
|
||||
const _LandmarksDashView({Key? key}) : super(key: key);
|
||||
const _LandmarksDashView();
|
||||
|
||||
@override
|
||||
State<_LandmarksDashView> createState() => _LandmarksDashViewState();
|
||||
@ -90,9 +90,8 @@ class _LandmarksDashViewState extends State<_LandmarksDashView> {
|
||||
|
||||
class _Dash extends StatefulWidget {
|
||||
const _Dash({
|
||||
Key? key,
|
||||
required this.faceGeometry,
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
final FaceGeometry faceGeometry;
|
||||
|
||||
|
@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:tensorflow_models/tensorflow_models.dart' as tf;
|
||||
|
||||
class LandmarksDetectBlinkPage extends StatelessWidget {
|
||||
const LandmarksDetectBlinkPage({Key? key}) : super(key: key);
|
||||
const LandmarksDetectBlinkPage({super.key});
|
||||
|
||||
static Route<void> route() =>
|
||||
MaterialPageRoute(builder: (_) => const LandmarksDetectBlinkPage());
|
||||
@ -15,7 +15,7 @@ class LandmarksDetectBlinkPage extends StatelessWidget {
|
||||
}
|
||||
|
||||
class _LandmarksDetectBlinkView extends StatefulWidget {
|
||||
const _LandmarksDetectBlinkView({Key? key}) : super(key: key);
|
||||
const _LandmarksDetectBlinkView();
|
||||
|
||||
@override
|
||||
State<_LandmarksDetectBlinkView> createState() =>
|
||||
|
@ -7,7 +7,7 @@ import 'package:just_audio/just_audio.dart';
|
||||
import 'package:tensorflow_models/tensorflow_models.dart' as tf;
|
||||
|
||||
class LandmarksOpenMouthPage extends StatelessWidget {
|
||||
const LandmarksOpenMouthPage({Key? key}) : super(key: key);
|
||||
const LandmarksOpenMouthPage({super.key});
|
||||
|
||||
static Route<void> route() =>
|
||||
MaterialPageRoute(builder: (_) => const LandmarksOpenMouthPage());
|
||||
@ -17,7 +17,7 @@ class LandmarksOpenMouthPage extends StatelessWidget {
|
||||
}
|
||||
|
||||
class _LandmarksOpenMouthPage extends StatefulWidget {
|
||||
const _LandmarksOpenMouthPage({Key? key}) : super(key: key);
|
||||
const _LandmarksOpenMouthPage();
|
||||
|
||||
@override
|
||||
State<_LandmarksOpenMouthPage> createState() =>
|
||||
|
@ -5,7 +5,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:tensorflow_models/tensorflow_models.dart' as tf;
|
||||
|
||||
class LandmarksVideoStreamPage extends StatelessWidget {
|
||||
const LandmarksVideoStreamPage({Key? key}) : super(key: key);
|
||||
const LandmarksVideoStreamPage({super.key});
|
||||
|
||||
static Route<void> route() =>
|
||||
MaterialPageRoute(builder: (_) => const LandmarksVideoStreamPage());
|
||||
@ -15,7 +15,7 @@ class LandmarksVideoStreamPage extends StatelessWidget {
|
||||
}
|
||||
|
||||
class _LandmarksVideoStreamView extends StatefulWidget {
|
||||
const _LandmarksVideoStreamView({Key? key}) : super(key: key);
|
||||
const _LandmarksVideoStreamView();
|
||||
|
||||
@override
|
||||
State<_LandmarksVideoStreamView> createState() =>
|
||||
|
@ -4,7 +4,7 @@ import 'package:camera/camera.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class CameraView extends StatefulWidget {
|
||||
const CameraView({Key? key, this.onCameraReady}) : super(key: key);
|
||||
const CameraView({super.key, this.onCameraReady});
|
||||
|
||||
/// Callback called once the camera has been initialized.
|
||||
///
|
||||
|
@ -5,9 +5,9 @@ import 'package:rive/rive.dart';
|
||||
|
||||
class DashWithBackground extends StatefulWidget {
|
||||
const DashWithBackground({
|
||||
Key? key,
|
||||
required this.faceGeometry,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
final FaceGeometry? faceGeometry;
|
||||
|
||||
|
@ -3,9 +3,9 @@ import 'package:flutter/widgets.dart';
|
||||
|
||||
class FaceGeometryOverlay extends StatelessWidget {
|
||||
const FaceGeometryOverlay({
|
||||
Key? key,
|
||||
required this.faceGeometry,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
final FaceGeometry faceGeometry;
|
||||
|
||||
|
@ -7,10 +7,10 @@ import 'package:tensorflow_models/tensorflow_models.dart' as tf;
|
||||
|
||||
class FacesDetectorBuilder extends StatefulWidget {
|
||||
const FacesDetectorBuilder({
|
||||
Key? key,
|
||||
required this.cameraController,
|
||||
required this.builder,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
final CameraController cameraController;
|
||||
final Widget Function(BuildContext context, tf.Faces faces) builder;
|
||||
|
@ -4,7 +4,7 @@ version: 1.0.0+1
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0-0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
audio_session: ^0.1.10
|
||||
@ -25,7 +25,7 @@ dependencies:
|
||||
dev_dependencies:
|
||||
build_runner:
|
||||
flutter_gen_runner:
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
||||
dependency_overrides:
|
||||
camera:
|
||||
@ -39,7 +39,6 @@ dependency_overrides:
|
||||
path: packages/camera/camera_web
|
||||
ref: da722ef898b1da47c339a17653067e070bb8e608
|
||||
|
||||
|
||||
flutter_gen:
|
||||
output: lib/assets/
|
||||
line_length: 80
|
||||
|
@ -1,5 +1,3 @@
|
||||
library tensorflow_models;
|
||||
|
||||
export 'package:tensorflow_models_platform_interface/tensorflow_models_platform_interface.dart';
|
||||
|
||||
export 'src/tensor_flow_face_landmarks.dart';
|
||||
|
@ -4,7 +4,7 @@ version: 0.1.0
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
flutter: 3.3.1
|
||||
|
||||
flutter:
|
||||
@ -28,4 +28,4 @@ dev_dependencies:
|
||||
sdk: flutter
|
||||
mocktail: ^0.1.0
|
||||
plugin_platform_interface: ^2.1.2
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
include: package:very_good_analysis/analysis_options.3.1.0.yaml
|
||||
include: package:very_good_analysis/analysis_options.4.0.0.yaml
|
||||
linter:
|
||||
rules:
|
||||
public_member_api_docs: false
|
||||
|
@ -4,6 +4,8 @@
|
||||
/// See also:
|
||||
///
|
||||
/// * [TypeScript types implementation](https://github.com/tensorflow/tfjs-models/blob/master/face-landmarks-detection/src/types.ts)
|
||||
library types;
|
||||
|
||||
import 'dart:collection';
|
||||
|
||||
import 'package:meta/meta.dart';
|
||||
|
@ -1,5 +1,3 @@
|
||||
library tensorflow_models_platform_interface;
|
||||
|
||||
export 'src/face_landmarks_detection/face_landmarks_detection.dart';
|
||||
export 'src/method_channel/method_channel_tensorflow_models.dart';
|
||||
export 'src/platform_interface/tensorflow_models_platform.dart';
|
||||
|
@ -3,7 +3,7 @@ description: A common platform interface for the tensorflow_models plugin.
|
||||
version: 0.0.1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.0 <3.0.0"
|
||||
sdk: ">=2.19.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
meta: ^1.8.0
|
||||
@ -12,4 +12,4 @@ dependencies:
|
||||
dev_dependencies:
|
||||
mocktail: ^0.3.0
|
||||
test: ^1.21.5
|
||||
very_good_analysis: ^3.1.0
|
||||
very_good_analysis: ^4.0.0
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user