Update toolbar.dart

pull/794/head
mark8044 3 years ago committed by GitHub
parent 5f9faed167
commit 53e97c81d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/src/widgets/toolbar.dart

@ -196,7 +196,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
.formatSelection(Attribute.fromKeyValue('size', newSize));
}
},
initialValue: fontSizes.values.toList()[initialFontSizeValue ?? 0]
initialValue: fontSizes.values.toList()[initialFontSizeValue ?? 0],
initialValueTitle: fontSizes.keys.toList()[initialFontSizeValue ?? 0]
),
if (showBoldButton)
ToggleStyleButton(

Loading…
Cancel
Save