Skip to content

Commit 8b29a36

Browse files
authored
⬆️ Allows sensor_plus v6 (#284)
1 parent 384609c commit 8b29a36

8 files changed

+14
-5
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ See the [Migration Guide](guides/migration_guide.md) for breaking changes betwee
1010

1111
*None.*
1212

13+
## 4.3.5
14+
15+
### Improvements
16+
17+
- Allows `sensor_plus` v6.
18+
1319
## 4.3.4
1420

1521
### Fixes

example/ios/Runner/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import UIKit
22
import Flutter
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

example/lib/extensions/color_extension.dart

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright 2019 The FlutterCandies author. All rights reserved.
22
// Use of this source code is governed by an Apache license that can be found
33
// in the LICENSE file.
4+
// ignore_for_file: deprecated_member_use
45

56
import 'package:flutter/material.dart'
67
show Color, Colors, HSLColor, MaterialColor;

example/lib/widgets/asset_widget_builder.dart

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class AssetWidgetBuilder extends StatelessWidget {
6464
children: <Widget>[
6565
Positioned.fill(child: _imageAssetWidget(context)),
6666
ColoredBox(
67+
// ignore: deprecated_member_use
6768
color: Theme.of(context).dividerColor.withOpacity(0.3),
6869
child: Center(
6970
child: Icon(

example/lib/widgets/selected_assets_list_view.dart

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class SelectedAssetsListView extends StatelessWidget {
5656
child: DecoratedBox(
5757
decoration: BoxDecoration(
5858
borderRadius: BorderRadius.circular(4.0),
59+
// ignore: deprecated_member_use
5960
color: Theme.of(context).canvasColor.withOpacity(0.5),
6061
),
6162
child: const Icon(Icons.close, size: 18.0),

example/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wechat_camera_picker_demo
22
description: A new Flutter project.
3-
version: 4.3.4+40
3+
version: 4.3.5+41
44
publish_to: none
55

66
environment:

lib/wechat_camera_picker.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by an Apache license that can be found
33
// in the LICENSE file.
44

5-
library wechat_camera_picker;
5+
library;
66

77
export 'package:camera/camera.dart';
88
export 'package:photo_manager/photo_manager.dart';

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: wechat_camera_picker
2-
version: 4.3.4
2+
version: 4.3.5
33
description: |
44
A camera picker for Flutter projects based on WeChat's UI,
55
which is also a separate runnable extension to the
@@ -32,7 +32,7 @@ dependencies:
3232
path: ^1.8.0
3333
photo_manager: ^3.2.3
3434
photo_manager_image_provider: ^2.0.0
35-
sensors_plus: '>=4.0.0 <6.0.0'
35+
sensors_plus: '>=4.0.0 <7.0.0'
3636
video_player: ^2.7.0
3737

3838
dev_dependencies:

0 commit comments

Comments
 (0)