Browse Source

upgrade deps

pull/24/head
Neo Sun 3 years ago
parent
commit
879079201e
  1. 38
      linux/CMakeLists.txt
  2. 1
      linux/flutter/CMakeLists.txt
  3. 4
      linux/flutter/generated_plugin_registrant.cc
  4. 1
      linux/flutter/generated_plugins.cmake
  5. 19
      linux/my_application.cc
  6. 207
      pubspec.lock
  7. 15
      pubspec.yaml
  8. 3
      windows/flutter/generated_plugin_registrant.cc
  9. 1
      windows/flutter/generated_plugins.cmake

38
linux/CMakeLists.txt

@ -1,11 +1,19 @@ @@ -1,11 +1,19 @@
# Project-level configuration.
cmake_minimum_required(VERSION 3.15)
project(runner LANGUAGES CXX)
# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "esse")
set(APPLICATION_ID "com.cympletech.esse")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "cympletech.com.esse")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.
cmake_policy(SET CMP0063 NEW)
# Load bundled libraries from the lib/ directory relative to the binary.
set(CMAKE_INSTALL_RPATH "$ORIGIN/lib")
# Root filesystem for cross-building.
@ -18,7 +26,7 @@ if(FLUTTER_TARGET_PLATFORM_SYSROOT) @@ -18,7 +26,7 @@ if(FLUTTER_TARGET_PLATFORM_SYSROOT)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
endif()
# Configure build options.
# Define build configuration options.
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE "Debug" CACHE
STRING "Flutter build mode" FORCE)
@ -27,6 +35,10 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) @@ -27,6 +35,10 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif()
# Compilation settings that should be applied to most targets.
#
# Be cautious about adding new options here, as plugins use this function by
# default. In most cases, you should add new options to specific targets instead
# of modifying this function.
function(APPLY_STANDARD_SETTINGS TARGET)
target_compile_features(${TARGET} PUBLIC cxx_std_14)
target_compile_options(${TARGET} PRIVATE -Wall -Werror)
@ -34,9 +46,8 @@ function(APPLY_STANDARD_SETTINGS TARGET) @@ -34,9 +46,8 @@ function(APPLY_STANDARD_SETTINGS TARGET)
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
endfunction()
set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
# Flutter library and tool build rules.
set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
add_subdirectory(${FLUTTER_MANAGED_DIR})
# System-level dependencies.
@ -45,16 +56,27 @@ pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) @@ -45,16 +56,27 @@ pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
# Application build
# Define the application target. To change its name, change BINARY_NAME above,
# not the value here, or `flutter run` will no longer work.
#
# Any new source files that you add to the application should be added here.
add_executable(${BINARY_NAME}
"main.cc"
"my_application.cc"
"${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
)
# Apply the standard set of build settings. This can be removed for applications
# that need different build settings.
apply_standard_settings(${BINARY_NAME})
# Add dependency libraries. Add any application-specific dependencies here.
target_link_libraries(${BINARY_NAME} PRIVATE flutter)
target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
# Run the Flutter tool portions of the build. This must not be removed.
add_dependencies(${BINARY_NAME} flutter_assemble)
# Only the install-generated bundle's copy of the executable will launch
# correctly, since the resources must in the right relative locations. To avoid
# people trying to run the unbundled copy, put it in a subdirectory instead of
@ -94,11 +116,11 @@ install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR} @@ -94,11 +116,11 @@ install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}
install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
if(PLUGIN_BUNDLED_LIBRARIES)
install(FILES "${PLUGIN_BUNDLED_LIBRARIES}"
foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
install(FILES "${bundled_library}"
DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
endif()
endforeach(bundled_library)
# Fully re-copy the assets directory on each build to avoid having stale files
# from a previous install.

1
linux/flutter/CMakeLists.txt

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
# This file controls Flutter-level build steps. It should not be edited.
cmake_minimum_required(VERSION 3.15)
set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")

4
linux/flutter/generated_plugin_registrant.cc

@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
#include <esse_core/esse_core_plugin.h>
#include <file_selector_linux/file_selector_plugin.h>
#include <record_linux/record_linux_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) {
@ -17,6 +18,9 @@ void fl_register_plugins(FlPluginRegistry* registry) { @@ -17,6 +18,9 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
g_autoptr(FlPluginRegistrar) record_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "RecordLinuxPlugin");
record_linux_plugin_register_with_registrar(record_linux_registrar);
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);

1
linux/flutter/generated_plugins.cmake

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
list(APPEND FLUTTER_PLUGIN_LIST
esse_core
file_selector_linux
record_linux
url_launcher_linux
)

19
linux/my_application.cc

@ -29,22 +29,21 @@ static void my_application_activate(GApplication* application) { @@ -29,22 +29,21 @@ static void my_application_activate(GApplication* application) {
// if future cases occur).
gboolean use_header_bar = TRUE;
#ifdef GDK_WINDOWING_X11
GdkScreen *screen = gtk_window_get_screen(window);
GdkScreen* screen = gtk_window_get_screen(window);
if (GDK_IS_X11_SCREEN(screen)) {
const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
use_header_bar = FALSE;
}
const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
use_header_bar = FALSE;
}
}
#endif
if (use_header_bar) {
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar));
gtk_header_bar_set_title(header_bar, "ESSE");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
}
else {
} else {
gtk_window_set_title(window, "ESSE");
}
@ -64,7 +63,7 @@ static void my_application_activate(GApplication* application) { @@ -64,7 +63,7 @@ static void my_application_activate(GApplication* application) {
}
// Implements GApplication::local_command_line.
static gboolean my_application_local_command_line(GApplication* application, gchar ***arguments, int *exit_status) {
static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) {
MyApplication* self = MY_APPLICATION(application);
// Strip out the first argument as it is the binary name.
self->dart_entrypoint_arguments = g_strdupv(*arguments + 1);
@ -83,7 +82,7 @@ static gboolean my_application_local_command_line(GApplication* application, gch @@ -83,7 +82,7 @@ static gboolean my_application_local_command_line(GApplication* application, gch
}
// Implements GObject::dispose.
static void my_application_dispose(GObject *object) {
static void my_application_dispose(GObject* object) {
MyApplication* self = MY_APPLICATION(object);
g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev);
G_OBJECT_CLASS(my_application_parent_class)->dispose(object);

207
pubspec.lock

@ -42,7 +42,7 @@ packages: @@ -42,7 +42,7 @@ packages:
name: audio_session
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.7"
version: "0.1.10"
boolean_selector:
dependency: transitive
description:
@ -71,6 +71,13 @@ packages: @@ -71,6 +71,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
checked_yaml:
dependency: transitive
description:
name: checked_yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
cli_dialog:
dependency: transitive
description:
@ -112,7 +119,7 @@ packages: @@ -112,7 +119,7 @@ packages:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
version: "3.0.2"
crop:
dependency: "direct main"
description:
@ -147,14 +154,14 @@ packages: @@ -147,14 +154,14 @@ packages:
name: dart_console
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.1.1"
device_info_plus:
dependency: transitive
description:
name: device_info_plus
url: "https://pub.dartlang.org"
source: hosted
version: "3.2.3"
version: "4.0.0"
device_info_plus_linux:
dependency: transitive
description:
@ -175,7 +182,7 @@ packages: @@ -175,7 +182,7 @@ packages:
name: device_info_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0+1"
version: "2.6.1"
device_info_plus_web:
dependency: transitive
description:
@ -203,7 +210,7 @@ packages: @@ -203,7 +210,7 @@ packages:
name: equatable
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "2.0.5"
esse_core:
dependency: "direct main"
description:
@ -238,51 +245,49 @@ packages: @@ -238,51 +245,49 @@ packages:
name: file_picker
url: "https://pub.dartlang.org"
source: hosted
version: "4.6.0"
version: "4.6.1"
file_selector:
dependency: "direct main"
description:
name: file_selector
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.4+2"
version: "0.9.1"
file_selector_linux:
dependency: "direct main"
dependency: transitive
description:
path: "plugins/file_selector/file_selector_linux"
ref: HEAD
resolved-ref: "5c51870ced62a00e809ba4b81a846a052d241c9f"
url: "https://github.com/google/flutter-desktop-embedding"
source: git
version: "0.0.2+1"
name: file_selector_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.0"
file_selector_macos:
dependency: transitive
description:
name: file_selector_macos
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.2+1"
version: "0.9.0+1"
file_selector_platform_interface:
dependency: transitive
description:
name: file_selector_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
version: "2.1.0"
file_selector_web:
dependency: transitive
description:
name: file_selector_web
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.1+5"
version: "0.9.0"
file_selector_windows:
dependency: transitive
description:
name: file_selector_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.2+1"
version: "0.9.1+2"
flutter:
dependency: "direct main"
description: flutter
@ -300,20 +305,20 @@ packages: @@ -300,20 +305,20 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_inappwebview:
flutter_inappwebview_quill:
dependency: transitive
description:
name: flutter_inappwebview
name: flutter_inappwebview_quill
url: "https://pub.dartlang.org"
source: hosted
version: "5.4.3+7"
version: "5.4.6"
flutter_keyboard_visibility:
dependency: transitive
description:
name: flutter_keyboard_visibility
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.0"
version: "5.3.0"
flutter_keyboard_visibility_platform_interface:
dependency: transitive
description:
@ -334,14 +339,14 @@ packages: @@ -334,14 +339,14 @@ packages:
name: flutter_launcher_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.2"
version: "0.10.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "2.0.1"
flutter_localizations:
dependency: "direct main"
description: flutter
@ -354,27 +359,41 @@ packages: @@ -354,27 +359,41 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
flutter_math_fork:
dependency: transitive
description:
name: flutter_math_fork
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.3+1"
flutter_native_splash:
dependency: "direct dev"
description:
name: flutter_native_splash
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.1"
version: "2.2.8"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.6"
version: "2.0.7"
flutter_quill:
dependency: "direct main"
description:
name: flutter_quill
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.2"
version: "5.4.1"
flutter_svg:
dependency: transitive
description:
name: flutter_svg
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.4"
flutter_test:
dependency: "direct dev"
description: flutter
@ -424,7 +443,14 @@ packages: @@ -424,7 +443,14 @@ packages:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.1.0"
holding_gesture:
dependency: transitive
description:
name: holding_gesture
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
html:
dependency: transitive
description:
@ -438,7 +464,7 @@ packages: @@ -438,7 +464,7 @@ packages:
name: http
url: "https://pub.dartlang.org"
source: hosted
version: "0.13.4"
version: "0.13.5"
http_parser:
dependency: transitive
description:
@ -473,7 +499,7 @@ packages: @@ -473,7 +499,7 @@ packages:
name: image_picker_android
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.4+13"
version: "0.8.5+2"
image_picker_for_web:
dependency: transitive
description:
@ -487,14 +513,14 @@ packages: @@ -487,14 +513,14 @@ packages:
name: image_picker_ios
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.5+5"
version: "0.8.5+6"
image_picker_platform_interface:
dependency: transitive
description:
name: image_picker_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0"
version: "2.6.1"
image_save:
dependency: "direct main"
description:
@ -521,20 +547,27 @@ packages: @@ -521,20 +547,27 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.4"
json_annotation:
dependency: transitive
description:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "4.6.0"
just_audio:
dependency: "direct main"
description:
name: just_audio
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.21"
version: "0.9.28"
just_audio_platform_interface:
dependency: transitive
description:
name: just_audio_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.0"
version: "4.2.0"
just_audio_web:
dependency: transitive
description:
@ -548,14 +581,14 @@ packages: @@ -548,14 +581,14 @@ packages:
name: lint
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.2"
version: "1.10.0"
lints:
dependency: transitive
description:
name: lints
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
version: "2.0.0"
matcher:
dependency: transitive
description:
@ -570,6 +603,20 @@ packages: @@ -570,6 +603,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
math_expressions:
dependency: transitive
description:
name: math_expressions
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.1"
math_keyboard:
dependency: transitive
description:
name: math_keyboard
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.7"
meta:
dependency: transitive
description:
@ -583,7 +630,7 @@ packages: @@ -583,7 +630,7 @@ packages:
name: msix
url: "https://pub.dartlang.org"
source: hosted
version: "3.6.2"
version: "3.6.3"
nested:
dependency: transitive
description:
@ -604,7 +651,7 @@ packages: @@ -604,7 +651,7 @@ packages:
name: package_config
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.1.0"
path:
dependency: transitive
description:
@ -612,34 +659,48 @@ packages: @@ -612,34 +659,48 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
path_drawing:
dependency: transitive
description:
name: path_drawing
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
path_parsing:
dependency: transitive
description:
name: path_parsing
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
path_provider:
dependency: "direct main"
description:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.10"
version: "2.0.11"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.14"
version: "2.0.20"
path_provider_ios:
dependency: transitive
description:
name: path_provider_ios
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.9"
version: "2.0.11"
path_provider_linux:
dependency: transitive
description:
name: path_provider_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.6"
version: "2.1.7"
path_provider_macos:
dependency: transitive
description:
@ -660,7 +721,7 @@ packages: @@ -660,7 +721,7 @@ packages:
name: path_provider_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.6"
version: "2.0.7"
pedantic:
dependency: transitive
description:
@ -681,14 +742,14 @@ packages: @@ -681,14 +742,14 @@ packages:
name: permission_handler
url: "https://pub.dartlang.org"
source: hosted
version: "9.2.0"
version: "10.0.0"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
url: "https://pub.dartlang.org"
source: hosted
version: "9.0.2+1"
version: "10.0.0"
permission_handler_apple:
dependency: transitive
description:
@ -723,7 +784,7 @@ packages: @@ -723,7 +784,7 @@ packages:
name: photo_view
url: "https://pub.dartlang.org"
source: hosted
version: "0.13.0"
version: "0.14.0"
platform:
dependency: transitive
description:
@ -769,12 +830,10 @@ packages: @@ -769,12 +830,10 @@ packages:
qr_code_scanner:
dependency: "direct main"
description:
path: "."
ref: flutter-beta
resolved-ref: "5c8a34b848e4e1bad6b4c987d89634b90fd3ab9e"
url: "https://github.com/X-SLAYER/qr_code_scanner.git"
source: git
version: "0.7.0"
name: qr_code_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
qr_flutter:
dependency: "direct main"
description:
@ -795,49 +854,49 @@ packages: @@ -795,49 +854,49 @@ packages:
name: record
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.1"
version: "4.4.0"
record_linux:
dependency: transitive
description:
name: record_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
version: "0.3.3"
record_macos:
dependency: transitive
description:
name: record_macos
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.0"
version: "0.2.2"
record_platform_interface:
dependency: transitive
description:
name: record_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.0"
version: "0.5.0"
record_web:
dependency: transitive
description:
name: record_web
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.1"
version: "0.5.0"
record_windows:
dependency: transitive
description:
name: record_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.3"
version: "0.6.2"
rxdart:
dependency: transitive
description:
name: rxdart
url: "https://pub.dartlang.org"
source: hosted
version: "0.27.3"
version: "0.27.5"
shared_preferences:
dependency: "direct main"
description:
@ -912,7 +971,7 @@ packages: @@ -912,7 +971,7 @@ packages:
name: sprintf
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.0"
version: "6.0.2"
stack_trace:
dependency: transitive
description:
@ -996,7 +1055,7 @@ packages: @@ -996,7 +1055,7 @@ packages:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.2"
version: "6.1.5"
url_launcher_android:
dependency: transitive
description:
@ -1031,14 +1090,14 @@ packages: @@ -1031,14 +1090,14 @@ packages:
name: url_launcher_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.5"
version: "2.1.0"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.11"
version: "2.0.13"
url_launcher_windows:
dependency: transitive
description:
@ -1066,35 +1125,35 @@ packages: @@ -1066,35 +1125,35 @@ packages:
name: video_player
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.2"
version: "2.4.7"
video_player_android:
dependency: transitive
description:
name: video_player_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.4"
version: "2.3.9"
video_player_avfoundation:
dependency: transitive
description:
name: video_player_avfoundation
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.4"
version: "2.3.5"
video_player_platform_interface:
dependency: transitive
description:
name: video_player_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "5.1.2"
version: "5.1.4"
video_player_web:
dependency: transitive
description:
name: video_player_web
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.10"
version: "2.0.12"
vm_service:
dependency: transitive
description:
@ -1136,7 +1195,7 @@ packages: @@ -1136,7 +1195,7 @@ packages:
name: xdg_directories
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0+1"
version: "0.2.0+2"
xml:
dependency: transitive
description:
@ -1151,13 +1210,13 @@ packages: @@ -1151,13 +1210,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.1"
youtube_player_flutter:
youtube_player_flutter_quill:
dependency: transitive
description:
name: youtube_player_flutter
name: youtube_player_flutter_quill
url: "https://pub.dartlang.org"
source: hosted
version: "8.1.0"
version: "8.2.2"
sdks:
dart: ">=2.17.0 <3.0.0"
dart: ">=2.17.6 <3.0.0"
flutter: ">=3.0.0"

15
pubspec.yaml

@ -6,7 +6,7 @@ publish_to: 'none' @@ -6,7 +6,7 @@ publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.17.6 <3.0.0"
dependencies:
flutter:
@ -26,18 +26,11 @@ dependencies: @@ -26,18 +26,11 @@ dependencies:
image_save: any # Mobile save image to gallery
file_picker: any # pick file
file_selector: any # pick file
file_selector_linux:
git:
url: https://github.com/google/flutter-desktop-embedding
path: plugins/file_selector/file_selector_linux
open_file: any # open file in mobile.
crop: any
unorm_dart: any
qr_flutter: any
qr_code_scanner: # waiting PR merge
git:
url: https://github.com/X-SLAYER/qr_code_scanner.git
ref: flutter-beta
qr_code_scanner: any
web_socket_channel: any
record: any
just_audio: any
@ -49,7 +42,7 @@ dependencies: @@ -49,7 +42,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.0
flutter_lints: ^2.0.0
integration_test:
sdk: flutter
flutter_launcher_icons: any #flutter pub run flutter_launcher_icons:main
@ -61,7 +54,7 @@ msix_config: @@ -61,7 +54,7 @@ msix_config:
display_name: ESSE
publisher_display_name: ESSE
identity_name: CympleTech.com.ESSE
msix_version: 0.5.0.0
msix_version: 1.0.0.0
logo_path: .\assets\logo\esse_desktop.png
capabilities: "internetClient,microphone,webcam"

3
windows/flutter/generated_plugin_registrant.cc

@ -9,6 +9,7 @@ @@ -9,6 +9,7 @@
#include <esse_core/esse_core_plugin.h>
#include <file_selector_windows/file_selector_windows.h>
#include <permission_handler_windows/permission_handler_windows_plugin.h>
#include <record_windows/record_windows_plugin_c_api.h>
#include <url_launcher_windows/url_launcher_windows.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
@ -18,6 +19,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { @@ -18,6 +19,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
registry->GetRegistrarForPlugin("FileSelectorWindows"));
PermissionHandlerWindowsPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
RecordWindowsPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("RecordWindowsPluginCApi"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
}

1
windows/flutter/generated_plugins.cmake

@ -6,6 +6,7 @@ list(APPEND FLUTTER_PLUGIN_LIST @@ -6,6 +6,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
esse_core
file_selector_windows
permission_handler_windows
record_windows
url_launcher_windows
)

Loading…
Cancel
Save