FFGoogleNavBarItem constructor

FFGoogleNavBarItem({
  1. FFColor? backgroundColor,
  2. FFGradient? gradient,
  3. bool? customTextStyle,
  4. FFText? textStyle,
})

Implementation

factory FFGoogleNavBarItem({
  FFColor? backgroundColor,
  FFGradient? gradient,
  $core.bool? customTextStyle,
  FFText? textStyle,
}) {
  final result = create();
  if (backgroundColor != null) result.backgroundColor = backgroundColor;
  if (gradient != null) result.gradient = gradient;
  if (customTextStyle != null) result.customTextStyle = customTextStyle;
  if (textStyle != null) result.textStyle = textStyle;
  return result;
}