1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-24 22:09:21 +00:00

Prepare null safety migration

This commit is contained in:
Pierre HUBERT 2022-03-10 18:47:16 +01:00
parent 3c08384a4f
commit 2424fd38d6
2 changed files with 23 additions and 22 deletions

View File

@ -9,7 +9,6 @@ import 'package:connectivity_plus_web/connectivity_plus_web.dart';
import 'package:file_picker/_internal/file_picker_web.dart';
import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:firebase_messaging_web/firebase_messaging_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart';
@ -17,6 +16,8 @@ import 'package:url_launcher_web/url_launcher_web.dart';
import 'package:video_player_web/video_player_web.dart';
import 'package:wakelock_web/wakelock_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
// ignore: public_member_api_docs
void registerPlugins(Registrar registrar) {
ConnectivityPlusPlugin.registerWith(registrar);

View File

@ -22,38 +22,38 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.0
cupertino_icons: ^1.0.4
# Preferences are useful for a lot of things (ex: login tokens)
shared_preferences: ^2.0.13
# SQLite database is used for caching
sqflite: ^2.0.0+2
sqflite: ^2.0.2
# Image picker is used whenever the user wants to send an image
image_picker: ^0.8.4+4
image_picker: ^0.8.4+10
# The HTTP client is used to make requests on the Comunic API
dio: ^4.0.0-beta7
dio: ^4.0.4
http_parser: ^4.0.0
# This plugins allows to load remote images
cached_network_image: ^3.2.0
# URL launcher is useful to open URL in the phone browser
url_launcher: ^6.0.2
url_launcher: ^6.0.20
# Allows to parse HTML special characters
html: ^0.15.0
# Module that display the charts for the surveys
pie_chart: ^5.0.0
pie_chart: ^5.1.0
# Get current system language
intl: ^0.17.0
# Parse emojies
flutter_emoji: ^2.2.1+1
flutter_emoji: ^2.4.0
# Build settings UI
flutter_settings_ui: ^2.0.1
@ -62,10 +62,10 @@ dependencies:
jdenticon_dart: ^2.0.0
# Render SVG images
flutter_svg: ^1.0.0
flutter_svg: ^1.0.3
# Generate random strings
random_string: ^2.0.1
random_string: ^2.3.1
# Display zoomable images
photo_view: ^0.13.0
@ -80,13 +80,13 @@ dependencies:
event_bus: ^2.0.0
# WebRTC calls
flutter_webrtc: ^0.8.0
flutter_webrtc: ^0.8.3
# Prevent phone from auto-locking during calls
wakelock: ^0.6.1+2
# Pick any kind of file
file_picker: ^4.3.0
file_picker: ^4.5.0
# Get information about current version
package_info_plus: ^1.4.0
@ -95,24 +95,24 @@ dependencies:
version: ^2.0.0
# Get path to temporary files
path_provider: ^2.0.1
path_provider: ^2.0.9
# Format file size
filesize: ^2.0.1
# Copy content to clipboard
clipboard: ^0.1.2+8
clipboard: ^0.1.3
# Video / Audio player
video_player: ^2.0.2
chewie_audio: ^1.1.2
video_player: ^2.3.0
chewie_audio: ^1.3.0
chewie: ^1.3.0
# Determine file mime type
mime: ^1.0.0
mime: ^1.0.1
# Create video thumbnails
video_thumbnail: ^0.4.3
video_thumbnail: ^0.4.6
# Record audio file
record_mp3: ^3.0.0
@ -127,14 +127,14 @@ dependencies:
flutter_colorpicker: ^1.0.3
# Image cropper
image_cropper: ^1.4.0
image_cropper: ^1.5.0
# Firebase cloud messaging (for push notifications)
firebase_core: ^1.0.1
firebase_messaging: ^11.2.4
firebase_core: ^1.13.1
firebase_messaging: ^11.2.8
# Forez presence
table_calendar: ^3.0.0
table_calendar: ^3.0.4
dev_dependencies:
flutter_test: