更新空安全依赖

hmxc
小赖 4 years ago
parent b23e085b92
commit 7303a1b165

@ -1,3 +1,4 @@
import 'package:amap_location_fluttify/amap_location_fluttify.dart';
import 'package:amap_map_fluttify/amap_map_fluttify.dart'; import 'package:amap_map_fluttify/amap_map_fluttify.dart';
import 'package:dio/dio.dart'; import 'package:dio/dio.dart';

@ -104,7 +104,7 @@ class _GalleryPhotoViewWrapperState extends State<GalleryPhotoViewWrapper> {
//ios info.plist //ios info.plist
Future<bool> requestPermission() async { Future<bool> requestPermission() async {
var status = await Permission.photos.status; var status = await Permission.photos.status;
if (status.isUndetermined) { if (status.isDenied) {
await [Permission.photos].request(); await [Permission.photos].request();
} }
return status.isGranted; return status.isGranted;

@ -140,14 +140,14 @@ packages:
name: chewie name: chewie
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.12.2" version: "1.0.0"
chewie_audio: chewie_audio:
dependency: transitive dependency: transitive
description: description:
name: chewie_audio name: chewie_audio
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.1.2" version: "1.2.0"
cli_util: cli_util:
dependency: transitive dependency: transitive
description: description:
@ -217,21 +217,21 @@ packages:
name: css_colors name: css_colors
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.2" version: "1.1.0"
csslib: csslib:
dependency: transitive dependency: transitive
description: description:
name: csslib name: csslib
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.16.2" version: "0.17.0"
cupertino_icons: cupertino_icons:
dependency: "direct main" dependency: "direct main"
description: description:
name: cupertino_icons name: cupertino_icons
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.0" version: "1.0.2"
dart_style: dart_style:
dependency: transitive dependency: transitive
description: description:
@ -273,7 +273,7 @@ packages:
name: extended_list_library name: extended_list_library
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.1" version: "3.0.0"
extended_text: extended_text:
dependency: "direct main" dependency: "direct main"
description: description:
@ -316,13 +316,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.9.2" version: "0.9.2"
fluro:
dependency: "direct main"
description:
name: fluro
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.7.8"
flustars: flustars:
dependency: "direct main" dependency: "direct main"
description: description:
@ -383,7 +376,7 @@ packages:
name: flutter_html name: flutter_html
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.3.0" version: "2.0.0-nullsafety.0"
flutter_icons: flutter_icons:
dependency: "direct main" dependency: "direct main"
description: description:
@ -397,7 +390,7 @@ packages:
name: flutter_layout_grid name: flutter_layout_grid
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.10.5" version: "1.0.0-nullsafety.6"
flutter_localizations: flutter_localizations:
dependency: "direct main" dependency: "direct main"
description: flutter description: flutter
@ -416,7 +409,7 @@ packages:
name: flutter_picker name: flutter_picker
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.1.5" version: "2.0.0"
flutter_plugin_android_lifecycle: flutter_plugin_android_lifecycle:
dependency: transitive dependency: transitive
description: description:
@ -430,35 +423,28 @@ packages:
name: flutter_rating_bar name: flutter_rating_bar
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.2.0+1" version: "4.0.0"
flutter_redux:
dependency: "direct main"
description:
name: flutter_redux
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.5.4"
flutter_screenutil: flutter_screenutil:
dependency: "direct main" dependency: "direct main"
description: description:
name: flutter_screenutil name: flutter_screenutil
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "4.0.3+3" version: "5.0.0-nullsafety.11"
flutter_slidable: flutter_slidable:
dependency: "direct main" dependency: "direct main"
description: description:
name: flutter_slidable name: flutter_slidable
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.5.7" version: "0.6.0-nullsafety.0"
flutter_svg: flutter_svg:
dependency: transitive dependency: transitive
description: description:
name: flutter_svg name: flutter_svg
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.20.0-nullsafety.3" version: "0.21.0-nullsafety.0"
flutter_swiper: flutter_swiper:
dependency: "direct main" dependency: "direct main"
description: description:
@ -482,14 +468,14 @@ packages:
name: fluwx name: fluwx
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.5.0+1" version: "3.3.0"
font_awesome_flutter: font_awesome_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
name: font_awesome_flutter name: font_awesome_flutter
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "8.11.0" version: "9.0.0"
foundation_fluttify: foundation_fluttify:
dependency: transitive dependency: transitive
description: description:
@ -503,7 +489,7 @@ packages:
name: get name: get
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.26.0" version: "4.0.0-nullsafety.2"
glob: glob:
dependency: transitive dependency: transitive
description: description:
@ -545,7 +531,7 @@ packages:
name: html name: html
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.14.0+4" version: "0.15.0"
http: http:
dependency: transitive dependency: transitive
description: description:
@ -594,14 +580,7 @@ packages:
name: image_stack name: image_stack
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.1.0" version: "2.0.1"
import_js_library:
dependency: transitive
description:
name: import_js_library
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.2"
import_sorter: import_sorter:
dependency: "direct dev" dependency: "direct dev"
description: description:
@ -659,7 +638,7 @@ packages:
name: logger name: logger
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.9.4" version: "1.0.0"
logging: logging:
dependency: transitive dependency: transitive
description: description:
@ -687,7 +666,7 @@ packages:
name: nested name: nested
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.0.4" version: "1.0.0"
node_interop: node_interop:
dependency: transitive dependency: transitive
description: description:
@ -792,14 +771,14 @@ packages:
name: permission_handler name: permission_handler
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "5.0.1+1" version: "5.1.0+2"
permission_handler_platform_interface: permission_handler_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: permission_handler_platform_interface name: permission_handler_platform_interface
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.1" version: "2.0.2"
petitparser: petitparser:
dependency: transitive dependency: transitive
description: description:
@ -813,7 +792,7 @@ packages:
name: photo_view name: photo_view
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.10.3" version: "0.11.1"
platform: platform:
dependency: transitive dependency: transitive
description: description:
@ -848,7 +827,7 @@ packages:
name: provider name: provider
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "4.3.3" version: "5.0.0"
pub_semver: pub_semver:
dependency: transitive dependency: transitive
description: description:
@ -869,21 +848,21 @@ packages:
name: qr name: qr
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.3.0" version: "2.0.0"
qr_flutter: qr_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
name: qr_flutter name: qr_flutter
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.2.0" version: "4.0.0"
quiver: quiver:
dependency: transitive dependency: transitive
description: description:
name: quiver name: quiver
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.1.5" version: "3.0.0"
random_character: random_character:
dependency: "direct main" dependency: "direct main"
description: description:
@ -900,13 +879,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.0" version: "1.0.0"
redux:
dependency: transitive
description:
name: redux
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.0"
rxdart: rxdart:
dependency: transitive dependency: transitive
description: description:
@ -962,7 +934,7 @@ packages:
name: shimmer name: shimmer
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.1.2" version: "2.0.0-nullsafety.0"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -1100,7 +1072,7 @@ packages:
name: url_launcher_web name: url_launcher_web
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.1.5+1" version: "0.1.5+3"
uuid: uuid:
dependency: transitive dependency: transitive
description: description:
@ -1135,21 +1107,21 @@ packages:
name: video_player name: video_player
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.1" version: "2.0.2"
video_player_platform_interface: video_player_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: video_player_platform_interface name: video_player_platform_interface
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.2.0" version: "4.0.0"
video_player_web: video_player_web:
dependency: transitive dependency: transitive
description: description:
name: video_player_web name: video_player_web
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.1.4+1" version: "2.0.0"
vxstate: vxstate:
dependency: transitive dependency: transitive
description: description:
@ -1163,21 +1135,28 @@ packages:
name: wakelock name: wakelock
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.2.1+1" version: "0.4.0"
wakelock_macos:
dependency: transitive
description:
name: wakelock_macos
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.1.0"
wakelock_platform_interface: wakelock_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: wakelock_platform_interface name: wakelock_platform_interface
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.1.0+1" version: "0.2.0"
wakelock_web: wakelock_web:
dependency: transitive dependency: transitive
description: description:
name: wakelock_web name: wakelock_web
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.1.0+3" version: "0.2.0"
watcher: watcher:
dependency: transitive dependency: transitive
description: description:
@ -1191,14 +1170,14 @@ packages:
name: waterfall_flow name: waterfall_flow
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.2" version: "3.0.1"
webview_flutter: webview_flutter:
dependency: transitive dependency: transitive
description: description:
name: webview_flutter name: webview_flutter
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.7" version: "2.0.2"
win32: win32:
dependency: transitive dependency: transitive
description: description:

@ -14,19 +14,17 @@ dependencies:
sdk: flutter sdk: flutter
# 瀑布流 # 瀑布流
waterfall_flow: 2.0.2 waterfall_flow: ^3.0.1
# 权限组件 # 权限组件
permission_handler: ^5.0.1+1 permission_handler: ^5.0.1+1
# 版本信息 # 版本信息
package_info: ^2.0.0 package_info: ^2.0.0
#上拉加载 #上拉加载
pull_to_refresh: ^1.6.4 pull_to_refresh: ^1.6.4
# 状态管理 provider: ^5.0.0
flutter_redux: ^0.5.3
provider: ^4.1.3
# 屏幕适配 # 屏幕适配
flutter_screenutil: ^4.0.3+3 flutter_screenutil: ^5.0.0-nullsafety.11
cupertino_icons: ^1.0.0 cupertino_icons: ^1.0.2
# 打电话等各种功能 # 打电话等各种功能
url_launcher: 5.5.2 url_launcher: 5.5.2
# UI库 # UI库
@ -38,49 +36,47 @@ dependencies:
extended_text: ^5.0.4 extended_text: ^5.0.4
#轮播图 #轮播图
flutter_swiper: ^1.1.6 flutter_swiper: ^1.1.6
#路由
fluro: ^1.6.3
#滑动卡片 #滑动卡片
font_awesome_flutter: ^8.8.1 font_awesome_flutter: ^9.0.0
#图片预览 #图片预览
photo_view: ^0.10.2 photo_view: ^0.11.1
#图片缓存 #图片缓存
cached_network_image: ^3.0.0-nullsafety cached_network_image: ^3.0.0-nullsafety
#头像层叠 #头像层叠
image_stack: ^1.1.0 image_stack: ^2.0.1
#弹窗 #弹窗
bot_toast: ^4.0.1 bot_toast: ^4.0.1
#加载html #加载html
flutter_html: ^1.0.2 flutter_html: ^2.0.0-nullsafety.0
#上拉滑动 #上拉滑动
sliding_up_panel: ^1.0.2 sliding_up_panel: ^1.0.2
#经纬度 #经纬度
latlong: ^0.6.1 latlong: ^0.6.1
#滑块 #滑块
flutter_slidable: ^0.5.7 flutter_slidable: ^0.6.0-nullsafety.0
#http #http
dio: ^4.0.0-prev3 dio: ^4.0.0-prev3
#骨架 #骨架
shimmer: ^1.1.2 shimmer: ^2.0.0-nullsafety.0
#时间选择 #时间选择
flutter_datetime_picker: ^1.4.0 flutter_datetime_picker: ^1.4.0
#随机二维码 #随机二维码
qr_flutter: ^3.2.0 qr_flutter: ^4.0.0
#选择器 #选择器
flutter_picker: ^1.1.5 flutter_picker: ^2.0.0
#高德地图 #高德地图
amap_map_fluttify: amap_map_fluttify: 0.29.0
amap_location_fluttify: 0.18.0 amap_location_fluttify: 0.18.0
#用户存储路径 #用户存储路径
path_provider: ^2.0.1 path_provider: ^2.0.1
fluwx: ^2.5.0+1 fluwx: ^3.3.0
get: ^3.26.0 get: ^4.0.0-nullsafety.2
velocity_x: ^2.6.0 velocity_x: ^2.6.0
hive: ^2.0.0 hive: ^2.0.0
hive_flutter: ^1.0.0 hive_flutter: ^1.0.0
logger: ^0.9.4 logger: ^1.0.0
flutter_easyrefresh: ^2.1.8 flutter_easyrefresh: ^2.1.8
random_character: random_character:
git: git:
@ -88,7 +84,7 @@ dependencies:
image_picker: ^0.7.3 image_picker: ^0.7.3
power_logger: ^1.0.0-nullsafety.0 power_logger: ^1.0.0-nullsafety.0
flutter_rating_bar: ^3.2.0+1 flutter_rating_bar: ^4.0.0
jpush_flutter: jpush_flutter:
git: git:
url: http://159.75.73.143:8080/third_packages/jpush_flutter url: http://159.75.73.143:8080/third_packages/jpush_flutter

Loading…
Cancel
Save