FFFocusBorder constructor

FFFocusBorder({
  1. bool? showBorderOnFocus,
  2. FFBorderRadius? borderRadius,
  3. FFColorValue? borderColorValue,
  4. FFDoubleValue? borderWidthValue,
  5. FFPadding? padding,
  6. bool? showBorderAroundRadioButtonAndText,
})

Implementation

factory FFFocusBorder({
  $core.bool? showBorderOnFocus,
  FFBorderRadius? borderRadius,
  FFColorValue? borderColorValue,
  FFDoubleValue? borderWidthValue,
  FFPadding? padding,
  $core.bool? showBorderAroundRadioButtonAndText,
}) {
  final result = create();
  if (showBorderOnFocus != null) result.showBorderOnFocus = showBorderOnFocus;
  if (borderRadius != null) result.borderRadius = borderRadius;
  if (borderColorValue != null) result.borderColorValue = borderColorValue;
  if (borderWidthValue != null) result.borderWidthValue = borderWidthValue;
  if (padding != null) result.padding = padding;
  if (showBorderAroundRadioButtonAndText != null)
    result.showBorderAroundRadioButtonAndText =
        showBorderAroundRadioButtonAndText;
  return result;
}