QuillToolbar constructor
const
QuillToolbar({
- required List<
Widget> children, - Axis axis = Axis.horizontal,
- double toolbarSize = kDefaultIconSize * 2,
- double toolbarSectionSpacing = kToolbarSectionSpacing,
- WrapAlignment toolbarIconAlignment = WrapAlignment.center,
- WrapCrossAlignment toolbarIconCrossAlignment = WrapCrossAlignment.center,
- Color? color,
- List<
QuillCustomButton> customButtons = const [], - Locale? locale,
- VoidCallback? afterButtonPressed,
- Color? sectionDividerColor,
- double? sectionDividerSpace,
- 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);