@@ -282,6 +282,15 @@ class FormBuilderChoiceChip<T> extends FormBuilderFieldDecoration<T> {
282282 /// indicate its selection status. If set to `false` , no checkmark will be shown.
283283 final bool showCheckmark;
284284
285+ /// The surface tint color of the chip when it is selected.
286+ final Color ? surfaceTintColor;
287+
288+ /// {@macro flutter.material.Material.clipBehavior}
289+ final Clip clipBehavior;
290+
291+ /// The color of the chip's check mark when selected.
292+ final Color ? checkmarkColor;
293+
285294 /// Creates a list of `Chip` s that acts like radio buttons
286295 FormBuilderChoiceChip ({
287296 super .autovalidateMode = AutovalidateMode .disabled,
@@ -322,6 +331,9 @@ class FormBuilderChoiceChip<T> extends FormBuilderFieldDecoration<T> {
322331 this .verticalDirection = VerticalDirection .down,
323332 this .visualDensity,
324333 this .showCheckmark = true ,
334+ this .surfaceTintColor,
335+ this .clipBehavior = Clip .none,
336+ this .checkmarkColor,
325337 }) : super (builder: (FormFieldState <T ?> field) {
326338 final state = field as _FormBuilderChoiceChipState <T >;
327339
@@ -364,6 +376,9 @@ class FormBuilderChoiceChip<T> extends FormBuilderFieldDecoration<T> {
364376 visualDensity: visualDensity,
365377 avatarBorder: avatarBorder,
366378 showCheckmark: showCheckmark,
379+ surfaceTintColor: surfaceTintColor,
380+ clipBehavior: clipBehavior,
381+ checkmarkColor: checkmarkColor,
367382 ),
368383 ],
369384 ),
0 commit comments