FFCheckboxGroup constructor
FFCheckboxGroup({
- @Deprecated('This field is deprecated.') Iterable<
FFText> ? legacyOptions, - @Deprecated('This field is deprecated.') Iterable<
FFText> ? legacyInitiallySelected, - FFPadding? textPadding,
- FFPadding? itemPadding,
- FFColor? legacyActiveColor,
- FFColor? legacyCheckColor,
- FFBorderRadius? checkboxBorderRadius,
- FFText? textStyle,
- FFColor? legacyBorderColor,
- FFDisable? disabled,
- FFText? unselectedTextStyle,
- FFColorValue? activeColorValue,
- FFColorValue? checkColorValue,
- FFColorValue? borderColorValue,
- FFTextOptionsValue? options,
- FFTextOptionsValue? initiallySelected,
Implementation
factory FFCheckboxGroup({
@$core.Deprecated('This field is deprecated.')
$core.Iterable<FFText>? legacyOptions,
@$core.Deprecated('This field is deprecated.')
$core.Iterable<FFText>? legacyInitiallySelected,
FFPadding? textPadding,
FFPadding? itemPadding,
FFColor? legacyActiveColor,
FFColor? legacyCheckColor,
FFBorderRadius? checkboxBorderRadius,
FFText? textStyle,
FFColor? legacyBorderColor,
FFDisable? disabled,
FFText? unselectedTextStyle,
FFColorValue? activeColorValue,
FFColorValue? checkColorValue,
FFColorValue? borderColorValue,
FFTextOptionsValue? options,
FFTextOptionsValue? initiallySelected,
}) {
final result = create();
if (legacyOptions != null) result.legacyOptions.addAll(legacyOptions);
if (legacyInitiallySelected != null)
result.legacyInitiallySelected.addAll(legacyInitiallySelected);
if (textPadding != null) result.textPadding = textPadding;
if (itemPadding != null) result.itemPadding = itemPadding;
if (legacyActiveColor != null) result.legacyActiveColor = legacyActiveColor;
if (legacyCheckColor != null) result.legacyCheckColor = legacyCheckColor;
if (checkboxBorderRadius != null)
result.checkboxBorderRadius = checkboxBorderRadius;
if (textStyle != null) result.textStyle = textStyle;
if (legacyBorderColor != null) result.legacyBorderColor = legacyBorderColor;
if (disabled != null) result.disabled = disabled;
if (unselectedTextStyle != null)
result.unselectedTextStyle = unselectedTextStyle;
if (activeColorValue != null) result.activeColorValue = activeColorValue;
if (checkColorValue != null) result.checkColorValue = checkColorValue;
if (borderColorValue != null) result.borderColorValue = borderColorValue;
if (options != null) result.options = options;
if (initiallySelected != null) result.initiallySelected = initiallySelected;
return result;
}