mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
@ -59,10 +59,9 @@ DefaultStyles customStyles(BuildContext context) {
|
|||||||
small: const TextStyle(fontSize: 12, color: Colors.black45),
|
small: const TextStyle(fontSize: 12, color: Colors.black45),
|
||||||
underline: const TextStyle(decoration: TextDecoration.underline),
|
underline: const TextStyle(decoration: TextDecoration.underline),
|
||||||
strikeThrough: const TextStyle(decoration: TextDecoration.lineThrough),
|
strikeThrough: const TextStyle(decoration: TextDecoration.lineThrough),
|
||||||
inlineCode: TextStyle(
|
inlineCode: InlineCodeStyle(
|
||||||
color: Colors.blue.shade900.withOpacity(0.9),
|
style: baseStyle,
|
||||||
fontFamily: fontFamily,
|
backgroundColor: Colors.blue.shade900.withOpacity(0.9),
|
||||||
fontSize: 13,
|
|
||||||
),
|
),
|
||||||
link: TextStyle(
|
link: TextStyle(
|
||||||
color: themeData.colorScheme.secondary,
|
color: themeData.colorScheme.secondary,
|
||||||
|
@ -16,7 +16,7 @@ class EditorCheckboxBuilder extends QuillCheckboxBuilder {
|
|||||||
EditorCheckboxBuilder(this.theme);
|
EditorCheckboxBuilder(this.theme);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build({required BuildContext context, required bool isChecked, required void Function(bool? p1) onChanged}) {
|
Widget build({required BuildContext context, required bool isChecked, required ValueChanged<bool> onChanged}) {
|
||||||
return FlowyEditorCheckbox(
|
return FlowyEditorCheckbox(
|
||||||
theme: theme,
|
theme: theme,
|
||||||
isChecked: isChecked,
|
isChecked: isChecked,
|
||||||
@ -27,7 +27,7 @@ class EditorCheckboxBuilder extends QuillCheckboxBuilder {
|
|||||||
|
|
||||||
class FlowyEditorCheckbox extends StatefulWidget {
|
class FlowyEditorCheckbox extends StatefulWidget {
|
||||||
final bool isChecked;
|
final bool isChecked;
|
||||||
final void Function(bool? value) onChanged;
|
final ValueChanged<bool> onChanged;
|
||||||
final AppTheme theme;
|
final AppTheme theme;
|
||||||
const FlowyEditorCheckbox({
|
const FlowyEditorCheckbox({
|
||||||
required this.theme,
|
required this.theme,
|
||||||
|
@ -425,7 +425,7 @@ packages:
|
|||||||
name: flutter_colorpicker
|
name: flutter_colorpicker
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.6.1"
|
version: "1.0.3"
|
||||||
flutter_inappwebview:
|
flutter_inappwebview:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -477,11 +477,11 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: develop
|
ref: HEAD
|
||||||
resolved-ref: "8a4c23dcdbb8c38d49b7dea42575231877b1e56d"
|
resolved-ref: "0cb120d08d92c7091bfc0c9466a41c2b21965ca7"
|
||||||
url: "https://github.com/appflowy/flutter-quill.git"
|
url: "https://github.com/appflowy/flutter-quill.git"
|
||||||
source: git
|
source: git
|
||||||
version: "2.0.13"
|
version: "3.0.4"
|
||||||
flutter_svg:
|
flutter_svg:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@ -688,13 +688,6 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.12.11"
|
version: "0.12.11"
|
||||||
material_color_utilities:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: material_color_utilities
|
|
||||||
url: "https://pub.dartlang.org"
|
|
||||||
source: hosted
|
|
||||||
version: "0.1.2"
|
|
||||||
meta:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1084,7 +1077,7 @@ packages:
|
|||||||
name: test_api
|
name: test_api
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.4.8"
|
version: "0.4.3"
|
||||||
textstyle_extensions:
|
textstyle_extensions:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1264,4 +1257,4 @@ packages:
|
|||||||
version: "8.0.0"
|
version: "8.0.0"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=2.15.0-116.0.dev <3.0.0"
|
dart: ">=2.15.0-116.0.dev <3.0.0"
|
||||||
flutter: ">=2.5.0"
|
flutter: ">=2.5.3"
|
||||||
|
@ -42,7 +42,7 @@ dependencies:
|
|||||||
flutter_quill:
|
flutter_quill:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/appflowy/flutter-quill.git
|
url: https://github.com/appflowy/flutter-quill.git
|
||||||
ref: develop
|
tag: 3.0.4
|
||||||
|
|
||||||
# third party packages
|
# third party packages
|
||||||
intl: ^0.17.0
|
intl: ^0.17.0
|
||||||
@ -62,7 +62,7 @@ dependencies:
|
|||||||
styled_widget: '^0.3.1'
|
styled_widget: '^0.3.1'
|
||||||
expandable: ^5.0.1
|
expandable: ^5.0.1
|
||||||
flutter_svg: ^0.22.0
|
flutter_svg: ^0.22.0
|
||||||
flutter_colorpicker: ^0.6.0
|
flutter_colorpicker: ^1.0.3
|
||||||
package_info_plus: ^1.3.0
|
package_info_plus: ^1.3.0
|
||||||
url_launcher: ^6.0.2
|
url_launcher: ^6.0.2
|
||||||
# file_picker: ^4.2.1
|
# file_picker: ^4.2.1
|
||||||
|
Reference in New Issue
Block a user