@@ -282,6 +282,15 @@ class FormBuilderChoiceChip<T> extends FormBuilderFieldDecoration<T> {
282
282
/// indicate its selection status. If set to `false` , no checkmark will be shown.
283
283
final bool showCheckmark;
284
284
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
+
285
294
/// Creates a list of `Chip` s that acts like radio buttons
286
295
FormBuilderChoiceChip ({
287
296
super .autovalidateMode = AutovalidateMode .disabled,
@@ -322,6 +331,9 @@ class FormBuilderChoiceChip<T> extends FormBuilderFieldDecoration<T> {
322
331
this .verticalDirection = VerticalDirection .down,
323
332
this .visualDensity,
324
333
this .showCheckmark = true ,
334
+ this .surfaceTintColor,
335
+ this .clipBehavior = Clip .none,
336
+ this .checkmarkColor,
325
337
}) : super (builder: (FormFieldState <T ?> field) {
326
338
final state = field as _FormBuilderChoiceChipState <T >;
327
339
@@ -364,6 +376,9 @@ class FormBuilderChoiceChip<T> extends FormBuilderFieldDecoration<T> {
364
376
visualDensity: visualDensity,
365
377
avatarBorder: avatarBorder,
366
378
showCheckmark: showCheckmark,
379
+ surfaceTintColor: surfaceTintColor,
380
+ clipBehavior: clipBehavior,
381
+ checkmarkColor: checkmarkColor,
367
382
),
368
383
],
369
384
),
0 commit comments