Update toolbar.dart

pull/459/head
mark8044 4 years ago committed by GitHub
parent 556ed9c41d
commit 937cd0b09e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/src/widgets/toolbar.dart

@ -79,6 +79,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
bool showBackgroundColorButton = true, bool showBackgroundColorButton = true,
bool showClearFormat = true, bool showClearFormat = true,
bool showAlignmentButtons = false, bool showAlignmentButtons = false,
bool showLeftAlignment = true,
bool showCenterAlignment = true, bool showCenterAlignment = true,
bool showRightAlignment = true, bool showRightAlignment = true,
bool showJustifyAlignment = true, bool showJustifyAlignment = true,
@ -133,6 +134,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
onImagePickCallback != null || onImagePickCallback != null ||
onVideoPickCallback != null, onVideoPickCallback != null,
showAlignmentButtons, showAlignmentButtons,
showLeftAlignment,
showCenterAlignment, showCenterAlignment,
showRightAlignment, showRightAlignment,
showJustifyAlignment, showJustifyAlignment,
@ -288,6 +290,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
controller: controller, controller: controller,
iconSize: toolbarIconSize, iconSize: toolbarIconSize,
iconTheme: iconTheme, iconTheme: iconTheme,
showLeftAlignment: showLeftAlignment,
showCenterAlignment: showCenterAlignment, showCenterAlignment: showCenterAlignment,
showRightAlignment: showRightAlignment, showRightAlignment: showRightAlignment,
showJustifyAlignment: showJustifyAlignment, showJustifyAlignment: showJustifyAlignment,

Loading…
Cancel
Save