diff --git a/lib/src/fields/form_builder_choice_chips.dart b/lib/src/fields/form_builder_choice_chips.dart index 2988d2581..64b2132d2 100644 --- a/lib/src/fields/form_builder_choice_chips.dart +++ b/lib/src/fields/form_builder_choice_chips.dart @@ -282,6 +282,15 @@ class FormBuilderChoiceChip extends FormBuilderFieldDecoration { /// indicate its selection status. If set to `false`, no checkmark will be shown. final bool showCheckmark; + /// The surface tint color of the chip when it is selected. + final Color? surfaceTintColor; + + /// {@macro flutter.material.Material.clipBehavior} + final Clip clipBehavior; + + /// The color of the chip's check mark when selected. + final Color? checkmarkColor; + /// Creates a list of `Chip`s that acts like radio buttons FormBuilderChoiceChip({ super.autovalidateMode = AutovalidateMode.disabled, @@ -322,6 +331,9 @@ class FormBuilderChoiceChip extends FormBuilderFieldDecoration { this.verticalDirection = VerticalDirection.down, this.visualDensity, this.showCheckmark = true, + this.surfaceTintColor, + this.clipBehavior = Clip.none, + this.checkmarkColor, }) : super(builder: (FormFieldState field) { final state = field as _FormBuilderChoiceChipState; @@ -364,6 +376,9 @@ class FormBuilderChoiceChip extends FormBuilderFieldDecoration { visualDensity: visualDensity, avatarBorder: avatarBorder, showCheckmark: showCheckmark, + surfaceTintColor: surfaceTintColor, + clipBehavior: clipBehavior, + checkmarkColor: checkmarkColor, ), ], ),