2019-04-21 08:34:27 +00:00
|
|
|
name: comunic
|
|
|
|
description: Comunic client
|
|
|
|
|
|
|
|
# The following defines the version and build number for your application.
|
|
|
|
# A version number is three numbers separated by dots, like 1.2.43
|
|
|
|
# followed by an optional build number separated by a +.
|
|
|
|
# Both the version and the builder number may be overridden in flutter
|
|
|
|
# build by specifying --build-name and --build-number, respectively.
|
|
|
|
# In Android, build-name is used as versionName while build-number used as versionCode.
|
|
|
|
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
|
|
|
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
|
|
|
# Read more about iOS versioning at
|
|
|
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
2022-03-18 20:02:14 +00:00
|
|
|
version: 1.2.0+20
|
2019-04-21 08:34:27 +00:00
|
|
|
|
|
|
|
environment:
|
2022-03-10 18:39:57 +00:00
|
|
|
sdk: '>=2.12.0 <3.0.0'
|
2019-04-21 08:34:27 +00:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
flutter:
|
|
|
|
sdk: flutter
|
|
|
|
|
|
|
|
# The following adds the Cupertino Icons font to your application.
|
|
|
|
# Use with the CupertinoIcons class for iOS style icons.
|
2022-03-10 17:47:16 +00:00
|
|
|
cupertino_icons: ^1.0.4
|
2019-04-21 08:34:27 +00:00
|
|
|
|
2019-04-22 17:16:26 +00:00
|
|
|
# Preferences are useful for a lot of things (ex: login tokens)
|
2022-03-10 17:31:29 +00:00
|
|
|
shared_preferences: ^2.0.13
|
2019-04-22 17:16:26 +00:00
|
|
|
|
2019-04-24 09:24:05 +00:00
|
|
|
# SQLite database is used for caching
|
2022-03-10 17:47:16 +00:00
|
|
|
sqflite: ^2.0.2
|
2019-04-24 09:24:05 +00:00
|
|
|
|
2019-04-25 09:13:02 +00:00
|
|
|
# Image picker is used whenever the user wants to send an image
|
2022-03-10 17:47:16 +00:00
|
|
|
image_picker: ^0.8.4+10
|
2019-04-25 09:13:02 +00:00
|
|
|
|
2019-04-25 09:44:58 +00:00
|
|
|
# The HTTP client is used to make requests on the Comunic API
|
2022-03-10 17:47:16 +00:00
|
|
|
dio: ^4.0.4
|
2021-03-13 14:14:54 +00:00
|
|
|
http_parser: ^4.0.0
|
2019-04-25 09:44:58 +00:00
|
|
|
|
2019-04-26 09:04:06 +00:00
|
|
|
# This plugins allows to load remote images
|
2021-12-28 15:43:15 +00:00
|
|
|
cached_network_image: ^3.2.0
|
2019-04-26 09:04:06 +00:00
|
|
|
|
2019-05-01 08:21:26 +00:00
|
|
|
# URL launcher is useful to open URL in the phone browser
|
2022-03-10 17:47:16 +00:00
|
|
|
url_launcher: ^6.0.20
|
2019-05-01 08:21:26 +00:00
|
|
|
|
2019-06-24 08:48:31 +00:00
|
|
|
# Allows to parse HTML special characters
|
2021-03-13 14:14:54 +00:00
|
|
|
html: ^0.15.0
|
2019-06-24 08:48:31 +00:00
|
|
|
|
2019-06-28 09:32:36 +00:00
|
|
|
# Module that display the charts for the surveys
|
2022-03-10 17:47:16 +00:00
|
|
|
pie_chart: ^5.1.0
|
2019-06-28 09:32:36 +00:00
|
|
|
|
2020-03-28 16:11:11 +00:00
|
|
|
# Get current system language
|
2021-03-13 14:14:54 +00:00
|
|
|
intl: ^0.17.0
|
2020-03-28 16:11:11 +00:00
|
|
|
|
2020-04-16 08:14:45 +00:00
|
|
|
# Parse emojies
|
2022-03-10 17:47:16 +00:00
|
|
|
flutter_emoji: ^2.4.0
|
2020-04-16 08:14:45 +00:00
|
|
|
|
2020-04-16 14:33:44 +00:00
|
|
|
# Build settings UI
|
2021-12-28 14:23:08 +00:00
|
|
|
flutter_settings_ui: ^2.0.1
|
2020-04-16 14:33:44 +00:00
|
|
|
|
2020-04-17 06:44:57 +00:00
|
|
|
# Generate identicons
|
2021-12-28 15:34:14 +00:00
|
|
|
jdenticon_dart: ^2.0.0
|
|
|
|
|
|
|
|
# Render SVG images
|
2022-03-10 17:47:16 +00:00
|
|
|
flutter_svg: ^1.0.3
|
2020-04-17 06:44:57 +00:00
|
|
|
|
|
|
|
# Generate random strings
|
2022-03-10 17:47:16 +00:00
|
|
|
random_string: ^2.3.1
|
2020-04-17 06:44:57 +00:00
|
|
|
|
2020-04-17 06:53:46 +00:00
|
|
|
# Display zoomable images
|
2022-06-11 13:04:11 +00:00
|
|
|
photo_view: ^0.14.0
|
2020-04-17 06:53:46 +00:00
|
|
|
|
2020-04-17 09:53:47 +00:00
|
|
|
# Check Internet connection
|
2022-03-10 17:37:59 +00:00
|
|
|
connectivity_plus: ^2.2.1
|
2020-04-17 09:53:47 +00:00
|
|
|
|
2020-04-17 13:25:26 +00:00
|
|
|
# Establish WebSocket connections
|
2021-12-28 16:25:49 +00:00
|
|
|
web_socket_channel: ^2.1.0
|
2020-04-17 13:25:26 +00:00
|
|
|
|
2020-04-18 11:48:21 +00:00
|
|
|
# Events manager
|
2021-03-13 14:14:54 +00:00
|
|
|
event_bus: ^2.0.0
|
2020-04-18 11:48:21 +00:00
|
|
|
|
2020-04-19 13:15:07 +00:00
|
|
|
# WebRTC calls
|
2022-03-10 17:47:16 +00:00
|
|
|
flutter_webrtc: ^0.8.3
|
2020-04-19 13:15:07 +00:00
|
|
|
|
2020-04-23 15:37:12 +00:00
|
|
|
# Prevent phone from auto-locking during calls
|
2022-03-10 17:14:59 +00:00
|
|
|
wakelock: ^0.6.1+2
|
2020-04-23 15:37:12 +00:00
|
|
|
|
2020-04-24 11:35:05 +00:00
|
|
|
# Pick any kind of file
|
2022-03-10 17:47:16 +00:00
|
|
|
file_picker: ^4.5.0
|
2020-04-24 11:35:05 +00:00
|
|
|
|
2021-02-20 07:58:03 +00:00
|
|
|
# Get information about current version
|
2022-03-10 17:42:48 +00:00
|
|
|
package_info_plus: ^1.4.0
|
2021-02-20 07:58:03 +00:00
|
|
|
|
2021-02-20 08:24:51 +00:00
|
|
|
# Version manager
|
2021-05-29 13:40:47 +00:00
|
|
|
version: ^2.0.0
|
2021-02-20 08:24:51 +00:00
|
|
|
|
2021-03-10 23:02:41 +00:00
|
|
|
# Get path to temporary files
|
2022-03-10 17:47:16 +00:00
|
|
|
path_provider: ^2.0.9
|
2021-03-10 16:54:41 +00:00
|
|
|
|
2021-03-10 23:02:41 +00:00
|
|
|
# Format file size
|
2021-05-29 13:40:47 +00:00
|
|
|
filesize: ^2.0.1
|
2021-03-10 23:02:41 +00:00
|
|
|
|
2021-03-11 16:04:18 +00:00
|
|
|
# Copy content to clipboard
|
2022-03-10 17:47:16 +00:00
|
|
|
clipboard: ^0.1.3
|
2021-03-11 16:04:18 +00:00
|
|
|
|
2021-03-11 19:15:49 +00:00
|
|
|
# Video / Audio player
|
2022-06-11 13:04:11 +00:00
|
|
|
video_player: ^2.4.3
|
2022-03-10 17:47:16 +00:00
|
|
|
chewie_audio: ^1.3.0
|
2022-03-10 17:14:59 +00:00
|
|
|
chewie: ^1.3.0
|
2021-03-11 19:15:49 +00:00
|
|
|
|
2021-03-12 17:54:15 +00:00
|
|
|
# Determine file mime type
|
2022-03-10 17:47:16 +00:00
|
|
|
mime: ^1.0.1
|
2021-03-12 17:54:15 +00:00
|
|
|
|
2021-03-12 18:36:42 +00:00
|
|
|
# Create video thumbnails
|
2022-06-11 13:04:11 +00:00
|
|
|
video_thumbnail: ^0.5.0
|
2021-03-12 18:36:42 +00:00
|
|
|
|
2021-03-12 19:52:26 +00:00
|
|
|
# Record audio file
|
2021-12-28 16:18:37 +00:00
|
|
|
record_mp3: ^3.0.0
|
2021-03-12 20:19:40 +00:00
|
|
|
|
|
|
|
# Request permissions
|
2022-03-10 17:21:37 +00:00
|
|
|
permission_handler: ^9.2.0
|
2021-03-12 19:52:26 +00:00
|
|
|
|
2021-03-12 21:18:32 +00:00
|
|
|
# Emojies picker
|
2022-03-10 17:31:29 +00:00
|
|
|
emoji_picker_flutter: ^1.1.2
|
2021-03-12 21:18:32 +00:00
|
|
|
|
2021-03-13 09:09:17 +00:00
|
|
|
# Color picker
|
2021-12-28 14:23:08 +00:00
|
|
|
flutter_colorpicker: ^1.0.3
|
2021-03-13 09:09:17 +00:00
|
|
|
|
2021-03-13 16:50:59 +00:00
|
|
|
# Image cropper
|
2022-06-11 13:04:11 +00:00
|
|
|
image_cropper: ^2.0.3
|
2021-03-13 16:50:59 +00:00
|
|
|
|
2021-04-15 11:34:49 +00:00
|
|
|
# Firebase cloud messaging (for push notifications)
|
2022-03-10 17:47:16 +00:00
|
|
|
firebase_core: ^1.13.1
|
|
|
|
firebase_messaging: ^11.2.8
|
2021-04-15 11:34:49 +00:00
|
|
|
|
2021-04-22 13:41:35 +00:00
|
|
|
# Forez presence
|
2022-03-10 17:47:16 +00:00
|
|
|
table_calendar: ^3.0.4
|
2022-03-10 18:39:57 +00:00
|
|
|
collection: ^1.15.0-nullsafety.4
|
2021-04-22 13:41:35 +00:00
|
|
|
|
2019-04-21 08:34:27 +00:00
|
|
|
dev_dependencies:
|
|
|
|
flutter_test:
|
|
|
|
sdk: flutter
|
|
|
|
|
2021-04-27 09:05:58 +00:00
|
|
|
# Generate iOS application icons
|
2021-12-28 15:34:14 +00:00
|
|
|
flutter_launcher_icons: ^0.9.2
|
2021-04-27 09:05:58 +00:00
|
|
|
|
|
|
|
flutter_icons:
|
|
|
|
android: false
|
|
|
|
ios: true
|
|
|
|
image_path: assets/icon/comunic_icon.png
|
|
|
|
|
2019-04-21 08:34:27 +00:00
|
|
|
|
|
|
|
# For information on the generic Dart part of this file, see the
|
|
|
|
# following page: https://www.dartlang.org/tools/pub/pubspec
|
|
|
|
|
|
|
|
# The following section is specific to Flutter.
|
|
|
|
flutter:
|
|
|
|
|
|
|
|
# The following line ensures that the Material Icons font is
|
|
|
|
# included with your application, so that you can use the icons in
|
|
|
|
# the material Icons class.
|
|
|
|
uses-material-design: true
|
|
|
|
|
|
|
|
# To add assets to your application, add an assets section, like this:
|
2020-03-28 16:11:11 +00:00
|
|
|
assets:
|
|
|
|
|
|
|
|
# Translations
|
|
|
|
- assets/langs.json
|
|
|
|
- assets/langs/
|
|
|
|
|
|
|
|
|
2019-04-21 08:34:27 +00:00
|
|
|
# - images/a_dot_burr.jpeg
|
|
|
|
# - images/a_dot_ham.jpeg
|
|
|
|
|
|
|
|
# An image asset can refer to one or more resolution-specific "variants", see
|
|
|
|
# https://flutter.io/assets-and-images/#resolution-aware.
|
|
|
|
|
|
|
|
# For details regarding adding assets from package dependencies, see
|
|
|
|
# https://flutter.io/assets-and-images/#from-packages
|
|
|
|
|
|
|
|
# To add custom fonts to your application, add a fonts section here,
|
|
|
|
# in this "flutter" section. Each entry in this list should have a
|
|
|
|
# "family" key with the font family name, and a "fonts" key with a
|
|
|
|
# list giving the asset and other descriptors for the font. For
|
|
|
|
# example:
|
|
|
|
# fonts:
|
|
|
|
# - family: Schyler
|
|
|
|
# fonts:
|
|
|
|
# - asset: fonts/Schyler-Regular.ttf
|
|
|
|
# - asset: fonts/Schyler-Italic.ttf
|
|
|
|
# style: italic
|
|
|
|
# - family: Trajan Pro
|
|
|
|
# fonts:
|
|
|
|
# - asset: fonts/TrajanPro.ttf
|
|
|
|
# - asset: fonts/TrajanPro_Bold.ttf
|
|
|
|
# weight: 700
|
|
|
|
#
|
|
|
|
# For details regarding fonts from package dependencies,
|
|
|
|
# see https://flutter.io/custom-fonts/#from-packages
|