From 205be05e9aeb8b321fa7a4ddab25136f6188930f Mon Sep 17 00:00:00 2001 From: George Tian Date: Mon, 5 Jun 2023 22:17:38 +0800 Subject: [PATCH 1/2] Fix color picker dialog overflow (#1251) --- lib/src/widgets/toolbar/color_button.dart | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/src/widgets/toolbar/color_button.dart b/lib/src/widgets/toolbar/color_button.dart index 65139629..41a57734 100644 --- a/lib/src/widgets/toolbar/color_button.dart +++ b/lib/src/widgets/toolbar/color_button.dart @@ -170,9 +170,9 @@ class _ColorButtonState extends State { child: Text('OK'.i18n)), ], backgroundColor: Theme.of(context).canvasColor, - content: SizedBox( - height: 400, + content: SingleChildScrollView( child: Column( + mainAxisSize: MainAxisSize.min, children: [ Row( children: [ @@ -192,8 +192,7 @@ class _ColorButtonState extends State { child: Text('Color'.i18n)), ], ), - Expanded( - child: Column(children: [ + Column(children: [ if (pickerType == 'material') MaterialPicker( pickerColor: selectedColor, @@ -253,7 +252,7 @@ class _ColorButtonState extends State { }), ], ), - ])) + ]) ], ), )); From 6fa057987363d15dc78eadaf5e71dd721bb3ea56 Mon Sep 17 00:00:00 2001 From: Dilanka Yapa <104094511+dilankayapagit@users.noreply.github.com> Date: Mon, 5 Jun 2023 19:47:57 +0530 Subject: [PATCH 2/2] Update pubspec.yaml (#1252) --- flutter_quill_extensions/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml index a1ce333f..f1b77e8c 100644 --- a/flutter_quill_extensions/pubspec.yaml +++ b/flutter_quill_extensions/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: flutter: sdk: flutter - flutter_quill: ^7.1.20 + flutter_quill: ^7.2.1 image_picker: ^0.8.5+3 photo_view: ^0.14.0