FFInputDecoration constructor
FFInputDecoration({
- FFInputDecoration_InputBorderType? inputBorderType,
- @Deprecated('This field is deprecated.') Int64? legacyColor,
- double? legacyBorderWidth,
- FFBorderRadius? borderRadius,
- @Deprecated('This field is deprecated.') String? legacyHintText,
- @Deprecated('This field is deprecated.') String? legacyLabelText,
- FFColor? legacyBorderColor,
- bool? legacyDense,
- FFPadding? contentPadding,
- FFColor? legacyFillColor,
- bool? legacyFilled,
- FFText? hintStyle,
- FFText? labelStyle,
- FFColor? legacyErrorBorderColor,
- FFText? labelText,
- FFText? hintText,
- FFColor? legacyFocusBorderColor,
- FFText? errorTextStyle,
- bool? legacyAlignLabelWithHint,
- FFText? counterStyle,
- FFColorValue? borderColorValue,
- FFBooleanValue? filledValue,
- FFColorValue? fillColorValue,
- FFDoubleValue? borderWidthValue,
- FFBooleanValue? denseValue,
- FFColorValue? errorBorderColorValue,
- FFColorValue? focusBorderColorValue,
- FFBooleanValue? alignLabelWithHintValue,
- FFColor? legacyHoverColor,
- FFColorValue? hoverColorValue,
Implementation
factory FFInputDecoration({
FFInputDecoration_InputBorderType? inputBorderType,
@$core.Deprecated('This field is deprecated.') $fixnum.Int64? legacyColor,
$core.double? legacyBorderWidth,
FFBorderRadius? borderRadius,
@$core.Deprecated('This field is deprecated.') $core.String? legacyHintText,
@$core.Deprecated('This field is deprecated.')
$core.String? legacyLabelText,
FFColor? legacyBorderColor,
$core.bool? legacyDense,
FFPadding? contentPadding,
FFColor? legacyFillColor,
$core.bool? legacyFilled,
FFText? hintStyle,
FFText? labelStyle,
FFColor? legacyErrorBorderColor,
FFText? labelText,
FFText? hintText,
FFColor? legacyFocusBorderColor,
FFText? errorTextStyle,
$core.bool? legacyAlignLabelWithHint,
FFText? counterStyle,
FFColorValue? borderColorValue,
FFBooleanValue? filledValue,
FFColorValue? fillColorValue,
FFDoubleValue? borderWidthValue,
FFBooleanValue? denseValue,
FFColorValue? errorBorderColorValue,
FFColorValue? focusBorderColorValue,
FFBooleanValue? alignLabelWithHintValue,
FFColor? legacyHoverColor,
FFColorValue? hoverColorValue,
}) {
final result = create();
if (inputBorderType != null) result.inputBorderType = inputBorderType;
if (legacyColor != null) result.legacyColor = legacyColor;
if (legacyBorderWidth != null) result.legacyBorderWidth = legacyBorderWidth;
if (borderRadius != null) result.borderRadius = borderRadius;
if (legacyHintText != null) result.legacyHintText = legacyHintText;
if (legacyLabelText != null) result.legacyLabelText = legacyLabelText;
if (legacyBorderColor != null) result.legacyBorderColor = legacyBorderColor;
if (legacyDense != null) result.legacyDense = legacyDense;
if (contentPadding != null) result.contentPadding = contentPadding;
if (legacyFillColor != null) result.legacyFillColor = legacyFillColor;
if (legacyFilled != null) result.legacyFilled = legacyFilled;
if (hintStyle != null) result.hintStyle = hintStyle;
if (labelStyle != null) result.labelStyle = labelStyle;
if (legacyErrorBorderColor != null)
result.legacyErrorBorderColor = legacyErrorBorderColor;
if (labelText != null) result.labelText = labelText;
if (hintText != null) result.hintText = hintText;
if (legacyFocusBorderColor != null)
result.legacyFocusBorderColor = legacyFocusBorderColor;
if (errorTextStyle != null) result.errorTextStyle = errorTextStyle;
if (legacyAlignLabelWithHint != null)
result.legacyAlignLabelWithHint = legacyAlignLabelWithHint;
if (counterStyle != null) result.counterStyle = counterStyle;
if (borderColorValue != null) result.borderColorValue = borderColorValue;
if (filledValue != null) result.filledValue = filledValue;
if (fillColorValue != null) result.fillColorValue = fillColorValue;
if (borderWidthValue != null) result.borderWidthValue = borderWidthValue;
if (denseValue != null) result.denseValue = denseValue;
if (errorBorderColorValue != null)
result.errorBorderColorValue = errorBorderColorValue;
if (focusBorderColorValue != null)
result.focusBorderColorValue = focusBorderColorValue;
if (alignLabelWithHintValue != null)
result.alignLabelWithHintValue = alignLabelWithHintValue;
if (legacyHoverColor != null) result.legacyHoverColor = legacyHoverColor;
if (hoverColorValue != null) result.hoverColorValue = hoverColorValue;
return result;
}