FFCheckboxListTile constructor

FFCheckboxListTile({
  1. bool? legacyInitialValue,
  2. FFText? title,
  3. FFText? subtitle,
  4. bool? legacyDense,
  5. FFPadding? contentPadding,
  6. FFColor? legacyTileColor,
  7. FFBorderRadius? borderRadius,
  8. FFColor? legacyActiveColor,
  9. FFColor? legacyCheckColor,
  10. bool? leading,
  11. bool? circularCheck,
  12. FFColor? legacyCheckboxBorderColor,
  13. FFCheckboxDensity? density,
  14. FFDisable? disabled,
  15. FFColor? legacyDisabledCheckColor,
  16. FFBooleanValue? initialValueValue,
  17. FFColorValue? tileColorValue,
  18. FFColorValue? activeColorValue,
  19. FFColorValue? checkColorValue,
  20. FFColorValue? checkboxBorderColorValue,
  21. FFColorValue? disabledCheckColorValue,
  22. FFBooleanValue? denseValue,
})

Implementation

factory FFCheckboxListTile({
  $core.bool? legacyInitialValue,
  FFText? title,
  FFText? subtitle,
  $core.bool? legacyDense,
  FFPadding? contentPadding,
  FFColor? legacyTileColor,
  FFBorderRadius? borderRadius,
  FFColor? legacyActiveColor,
  FFColor? legacyCheckColor,
  $core.bool? leading,
  $core.bool? circularCheck,
  FFColor? legacyCheckboxBorderColor,
  FFCheckboxDensity? density,
  FFDisable? disabled,
  FFColor? legacyDisabledCheckColor,
  FFBooleanValue? initialValueValue,
  FFColorValue? tileColorValue,
  FFColorValue? activeColorValue,
  FFColorValue? checkColorValue,
  FFColorValue? checkboxBorderColorValue,
  FFColorValue? disabledCheckColorValue,
  FFBooleanValue? denseValue,
}) {
  final result = create();
  if (legacyInitialValue != null)
    result.legacyInitialValue = legacyInitialValue;
  if (title != null) result.title = title;
  if (subtitle != null) result.subtitle = subtitle;
  if (legacyDense != null) result.legacyDense = legacyDense;
  if (contentPadding != null) result.contentPadding = contentPadding;
  if (legacyTileColor != null) result.legacyTileColor = legacyTileColor;
  if (borderRadius != null) result.borderRadius = borderRadius;
  if (legacyActiveColor != null) result.legacyActiveColor = legacyActiveColor;
  if (legacyCheckColor != null) result.legacyCheckColor = legacyCheckColor;
  if (leading != null) result.leading = leading;
  if (circularCheck != null) result.circularCheck = circularCheck;
  if (legacyCheckboxBorderColor != null)
    result.legacyCheckboxBorderColor = legacyCheckboxBorderColor;
  if (density != null) result.density = density;
  if (disabled != null) result.disabled = disabled;
  if (legacyDisabledCheckColor != null)
    result.legacyDisabledCheckColor = legacyDisabledCheckColor;
  if (initialValueValue != null) result.initialValueValue = initialValueValue;
  if (tileColorValue != null) result.tileColorValue = tileColorValue;
  if (activeColorValue != null) result.activeColorValue = activeColorValue;
  if (checkColorValue != null) result.checkColorValue = checkColorValue;
  if (checkboxBorderColorValue != null)
    result.checkboxBorderColorValue = checkboxBorderColorValue;
  if (disabledCheckColorValue != null)
    result.disabledCheckColorValue = disabledCheckColorValue;
  if (denseValue != null) result.denseValue = denseValue;
  return result;
}