File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ class FormBuilderCheckbox extends FormBuilderFieldDecoration<bool> {
40
40
/// When the value is null, the `contentPadding` is `EdgeInsets.symmetric(horizontal: 16.0)` .
41
41
final EdgeInsets contentPadding;
42
42
43
+ /// Defines how compact the list tile's layout will be.
44
+ ///
45
+ /// {@macro flutter.material.themedata.visualDensity}
46
+ final VisualDensity ? visualDensity;
47
+
43
48
/// {@macro flutter.widgets.Focus.autofocus}
44
49
final bool autofocus;
45
50
@@ -137,6 +142,7 @@ class FormBuilderCheckbox extends FormBuilderFieldDecoration<bool> {
137
142
autofocus: autofocus,
138
143
tristate: tristate,
139
144
contentPadding: contentPadding,
145
+ visualDensity: visualDensity,
140
146
selected: selected,
141
147
checkboxShape: shape,
142
148
side: side,
You can’t perform that action at this time.
0 commit comments