FFSwitchListTile constructor
FFSwitchListTile({
- bool? legacyInitialValue,
- FFText? title,
- FFText? subtitle,
- bool? legacyDense,
- FFPadding? contentPadding,
- FFColor? legacyTileColor,
- FFBorderRadius? borderRadius,
- FFColor? legacyActiveColor,
- FFColor? legacyActiveTrackColor,
- bool? leading,
- FFDisable? disabled,
- FFColor? legacyDisabledActiveColor,
- FFColor? legacyDisabledActiveTrackColor,
- FFBooleanValue? initialValueValue,
- FFBooleanValue? denseValue,
- FFColorValue? tileColorValue,
- FFColorValue? activeColorValue,
- FFColorValue? activeTrackColorValue,
- FFColorValue? disabledActiveColorValue,
- FFColorValue? disabledActiveTrackColorValue,
Implementation
factory FFSwitchListTile({
$core.bool? legacyInitialValue,
FFText? title,
FFText? subtitle,
$core.bool? legacyDense,
FFPadding? contentPadding,
FFColor? legacyTileColor,
FFBorderRadius? borderRadius,
FFColor? legacyActiveColor,
FFColor? legacyActiveTrackColor,
$core.bool? leading,
FFDisable? disabled,
FFColor? legacyDisabledActiveColor,
FFColor? legacyDisabledActiveTrackColor,
FFBooleanValue? initialValueValue,
FFBooleanValue? denseValue,
FFColorValue? tileColorValue,
FFColorValue? activeColorValue,
FFColorValue? activeTrackColorValue,
FFColorValue? disabledActiveColorValue,
FFColorValue? disabledActiveTrackColorValue,
}) {
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 (legacyActiveTrackColor != null)
result.legacyActiveTrackColor = legacyActiveTrackColor;
if (leading != null) result.leading = leading;
if (disabled != null) result.disabled = disabled;
if (legacyDisabledActiveColor != null)
result.legacyDisabledActiveColor = legacyDisabledActiveColor;
if (legacyDisabledActiveTrackColor != null)
result.legacyDisabledActiveTrackColor = legacyDisabledActiveTrackColor;
if (initialValueValue != null) result.initialValueValue = initialValueValue;
if (denseValue != null) result.denseValue = denseValue;
if (tileColorValue != null) result.tileColorValue = tileColorValue;
if (activeColorValue != null) result.activeColorValue = activeColorValue;
if (activeTrackColorValue != null)
result.activeTrackColorValue = activeTrackColorValue;
if (disabledActiveColorValue != null)
result.disabledActiveColorValue = disabledActiveColorValue;
if (disabledActiveTrackColorValue != null)
result.disabledActiveTrackColorValue = disabledActiveTrackColorValue;
return result;
}