Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated quill #33

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
410 changes: 245 additions & 165 deletions .idea/libraries/Dart_Packages.xml

Large diffs are not rendered by default.

76 changes: 39 additions & 37 deletions .idea/libraries/Flutter_Plugins.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 31 additions & 37 deletions apps/onyx/lib/screens/mails/pages/email_send_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,44 +202,38 @@ class MailSendPage extends StatelessWidget {
height: (originalMessage == null) ? 62.5.h : 75.h,
width: 100.w,
child: SingleChildScrollView(
child: QuillProvider(
configurations: QuillConfigurations(
controller: controller,
sharedConfigurations: const QuillSharedConfigurations(),
),
child: Column(
children: [
const QuillToolbar(
configurations: QuillToolbarConfigurations(
multiRowsDisplay: false),
),
Container(
height: (originalMessage != null) ? 40.h : 52.h,
width: 100.w,
padding: const EdgeInsets.all(10),
child: QuillEditor.basic(
configurations: const QuillEditorConfigurations(
readOnly: false, // true for view only mode
child: Column(
children: [
QuillSimpleToolbar(
configurations: QuillSimpleToolbarConfigurations(
controller: controller, multiRowsDisplay: false),
),
Container(
height: (originalMessage != null) ? 40.h : 52.h,
width: 100.w,
padding: const EdgeInsets.all(10),
child: QuillEditor.basic(
configurations: QuillEditorConfigurations(
controller: controller,
readOnly: false, // true for view only mode
)),
),
(originalMessage != null)
? Container(
width: 100.w,
height: 75.h,
padding: EdgeInsets.all(1.h),
child: MailContentWidget(
mail: context
.read<EmailCubit>()
.state
.currentMailBox!
.emails
.firstWhere((element) =>
element.id == originalMessage)),
)
),
),
(originalMessage != null)
? Container(
width: 100.w,
height: 75.h,
padding: EdgeInsets.all(1.h),
child: MailContentWidget(
mail: context
.read<EmailCubit>()
.state
.currentMailBox!
.emails
.firstWhere((element) =>
element.id == originalMessage)),
)
: Container(),
],
),
: Container(),
],
),
),
),
Expand Down
12 changes: 8 additions & 4 deletions apps/onyx/linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

#include <biometric_storage/biometric_storage_plugin.h>
#include <desktop_window/desktop_window_plugin.h>
#include <irondash_engine_context/irondash_engine_context_plugin.h>
#include <isar_flutter_libs/isar_flutter_libs_plugin.h>
#include <pasteboard/pasteboard_plugin.h>
#include <super_native_extensions/super_native_extensions_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
Expand All @@ -19,12 +20,15 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) desktop_window_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "DesktopWindowPlugin");
desktop_window_plugin_register_with_registrar(desktop_window_registrar);
g_autoptr(FlPluginRegistrar) irondash_engine_context_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "IrondashEngineContextPlugin");
irondash_engine_context_plugin_register_with_registrar(irondash_engine_context_registrar);
g_autoptr(FlPluginRegistrar) isar_flutter_libs_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "IsarFlutterLibsPlugin");
isar_flutter_libs_plugin_register_with_registrar(isar_flutter_libs_registrar);
g_autoptr(FlPluginRegistrar) pasteboard_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "PasteboardPlugin");
pasteboard_plugin_register_with_registrar(pasteboard_registrar);
g_autoptr(FlPluginRegistrar) super_native_extensions_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "SuperNativeExtensionsPlugin");
super_native_extensions_plugin_register_with_registrar(super_native_extensions_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);
Expand Down
3 changes: 2 additions & 1 deletion apps/onyx/linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
list(APPEND FLUTTER_PLUGIN_LIST
biometric_storage
desktop_window
irondash_engine_context
isar_flutter_libs
pasteboard
super_native_extensions
url_launcher_linux
)

Expand Down
6 changes: 4 additions & 2 deletions apps/onyx/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ import desktop_window
import device_info_plus
import flutter_local_notifications
import geolocator_apple
import irondash_engine_context
import isar_flutter_libs
import pasteboard
import path_provider_foundation
import share_plus
import sqflite
import super_native_extensions
import url_launcher_macos

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
Expand All @@ -25,10 +26,11 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin"))
IrondashEngineContextPlugin.register(with: registry.registrar(forPlugin: "IrondashEngineContextPlugin"))
IsarFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "IsarFlutterLibsPlugin"))
PasteboardPlugin.register(with: registry.registrar(forPlugin: "PasteboardPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
SuperNativeExtensionsPlugin.register(with: registry.registrar(forPlugin: "SuperNativeExtensionsPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
}
Loading
Loading