Skip to content

Commit

Permalink
⬆️ Allows sensor_plus v6 (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 authored Nov 29, 2024
1 parent 384609c commit 8b29a36
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ See the [Migration Guide](guides/migration_guide.md) for breaking changes betwee

*None.*

## 4.3.5

### Improvements

- Allows `sensor_plus` v6.

## 4.3.4

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
1 change: 1 addition & 0 deletions example/lib/extensions/color_extension.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2019 The FlutterCandies author. All rights reserved.
// Use of this source code is governed by an Apache license that can be found
// in the LICENSE file.
// ignore_for_file: deprecated_member_use

import 'package:flutter/material.dart'
show Color, Colors, HSLColor, MaterialColor;
Expand Down
1 change: 1 addition & 0 deletions example/lib/widgets/asset_widget_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class AssetWidgetBuilder extends StatelessWidget {
children: <Widget>[
Positioned.fill(child: _imageAssetWidget(context)),
ColoredBox(
// ignore: deprecated_member_use
color: Theme.of(context).dividerColor.withOpacity(0.3),
child: Center(
child: Icon(
Expand Down
1 change: 1 addition & 0 deletions example/lib/widgets/selected_assets_list_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class SelectedAssetsListView extends StatelessWidget {
child: DecoratedBox(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(4.0),
// ignore: deprecated_member_use
color: Theme.of(context).canvasColor.withOpacity(0.5),
),
child: const Icon(Icons.close, size: 18.0),
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: wechat_camera_picker_demo
description: A new Flutter project.
version: 4.3.4+40
version: 4.3.5+41
publish_to: none

environment:
Expand Down
2 changes: 1 addition & 1 deletion lib/wechat_camera_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by an Apache license that can be found
// in the LICENSE file.

library wechat_camera_picker;
library;

export 'package:camera/camera.dart';
export 'package:photo_manager/photo_manager.dart';
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: wechat_camera_picker
version: 4.3.4
version: 4.3.5
description: |
A camera picker for Flutter projects based on WeChat's UI,
which is also a separate runnable extension to the
Expand Down Expand Up @@ -32,7 +32,7 @@ dependencies:
path: ^1.8.0
photo_manager: ^3.2.3
photo_manager_image_provider: ^2.0.0
sensors_plus: '>=4.0.0 <6.0.0'
sensors_plus: '>=4.0.0 <7.0.0'
video_player: ^2.7.0

dev_dependencies:
Expand Down

0 comments on commit 8b29a36

Please sign in to comment.