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

Loading…
Cancel
Save