Revert from material 3 to material 2

pull/1624/head
Ellet 1 year ago
parent e820c5b29d
commit 07b8f40491
  1. 3
      CHANGELOG.md
  2. 1
      flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart
  3. 1
      flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart
  4. 1
      flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart
  5. 1
      flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart
  6. 1
      lib/flutter_quill.dart

@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
## 9.1.0
* Because most of the users still uses material 2, we have to revert back to old buttons of `7.0.0`, take a look at [https://github.com/singerdmx/flutter-quill/pull/1621/](https://github.com/singerdmx/flutter-quill/pull/1621/)
## 9.0.4
* Feature: [#1611](https://github.com/singerdmx/flutter-quill/issues/1611)
* Export missing widgets

@ -94,6 +94,7 @@ class QuillToolbarFormulaButton extends StatelessWidget {
icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor),
tooltip: tooltip,
onPressed: () => _sharedOnPressed(context),
isFilled: false,
);
}

@ -103,6 +103,7 @@ class QuillToolbarImageButton extends StatelessWidget {
final iconColor = iconTheme?.iconUnselectedColor ?? theme.iconTheme.color;
return QuillToolbarIconButton(
isFilled: false,
icon: Icon(
iconData,
size: iconButtonFactor * iconSize,

@ -106,6 +106,7 @@ class QuillToolbarCameraButton extends StatelessWidget {
final iconColor = iconTheme?.iconUnselectedColor ?? theme.iconTheme.color;
return QuillToolbarIconButton(
isFilled: false,
icon: Icon(iconData, size: iconButtonFactor * iconSize, color: iconColor),
tooltip: tooltip,
onPressed: () => _sharedOnPressed(context),

@ -109,6 +109,7 @@ class QuillToolbarVideoButton extends StatelessWidget {
icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor),
tooltip: tooltip,
onPressed: () => _sharedOnPressed(context),
isFilled: false,
);
}

@ -33,7 +33,6 @@ export 'src/widgets/raw_editor/raw_editor.dart';
export 'src/widgets/raw_editor/raw_editor_state.dart';
export 'src/widgets/style_widgets/style_widgets.dart';
export 'src/widgets/toolbar/base_toolbar.dart';
export 'src/widgets/toolbar/buttons/alignment/select_alignment_button.dart';
export 'src/widgets/toolbar/buttons/hearder_style/select_header_style_dropdown_button.dart';
export 'src/widgets/toolbar/simple_toolbar.dart';
export 'src/widgets/utils/provider.dart';

Loading…
Cancel
Save