QuillToolbar constructor

const QuillToolbar({
  1. required List<Widget> children,
  2. Axis axis = Axis.horizontal,
  3. double toolbarSize = kDefaultIconSize * 2,
  4. double toolbarSectionSpacing = kToolbarSectionSpacing,
  5. WrapAlignment toolbarIconAlignment = WrapAlignment.center,
  6. WrapCrossAlignment toolbarIconCrossAlignment = WrapCrossAlignment.center,
  7. Color? color,
  8. List<QuillCustomButton> customButtons = const [],
  9. Locale? locale,
  10. VoidCallback? afterButtonPressed,
  11. Color? sectionDividerColor,
  12. double? sectionDividerSpace,
  13. Key? key,
})

Implementation

const QuillToolbar({
  required this.children,
  this.axis = Axis.horizontal,
  this.toolbarSize = kDefaultIconSize * 2,
  this.toolbarSectionSpacing = kToolbarSectionSpacing,
  this.toolbarIconAlignment = WrapAlignment.center,
  this.toolbarIconCrossAlignment = WrapCrossAlignment.center,
  this.color,
  this.customButtons = const [],
  this.locale,
  VoidCallback? afterButtonPressed,
  this.sectionDividerColor,
  this.sectionDividerSpace,
  Key? key,
}) : super(key: key);