From 1f3edafe57b16b993be41da9f613ae2f12dcf06a Mon Sep 17 00:00:00 2001 From: Ellet Date: Wed, 13 Dec 2023 13:42:24 +0300 Subject: [PATCH] Update comment attributes --- ...er_style_dropdown_button_configurations.dart | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/lib/src/models/config/toolbar/buttons/select_header_style_dropdown_button_configurations.dart b/lib/src/models/config/toolbar/buttons/select_header_style_dropdown_button_configurations.dart index e56e90c8..8cc6659e 100644 --- a/lib/src/models/config/toolbar/buttons/select_header_style_dropdown_button_configurations.dart +++ b/lib/src/models/config/toolbar/buttons/select_header_style_dropdown_button_configurations.dart @@ -62,7 +62,20 @@ class QuillToolbarSelectHeaderStyleDropdownButtonOptions final double hoverElevation; final double highlightElevation; final ValueChanged? onSelected; - final List? attributes; + + /// Header attributes, defaults to: + /// ```dart + /// [ + /// Attribute.h1, + /// Attribute.h2, + /// Attribute.h3, + /// Attribute.h4, + /// Attribute.h5, + /// Attribute.h6, + /// Attribute.header, + /// ] + /// ``` + final List>? attributes; final EdgeInsetsGeometry? padding; final TextStyle? style; final double? width; @@ -78,7 +91,7 @@ class QuillToolbarSelectHeaderStyleDropdownButtonOptions double? highlightElevation, List>? items, ValueChanged? onSelected, - List? attributes, + List>? attributes, EdgeInsetsGeometry? padding, TextStyle? style, double? width,