copyWith method

  1. @useResult
FButtonContentStyle copyWith({
  1. FWidgetStateMap<TextStyle>? textStyle,
  2. FWidgetStateMap<IconThemeData>? iconStyle,
  3. FWidgetStateMap<FCircularProgressStyle>? circularProgressStyle,
  4. EdgeInsetsGeometry? padding,
  5. double? spacing,
})

Returns a copy of this FButtonContentStyle with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FButtonContentStyle copyWith({
  FWidgetStateMap<TextStyle>? textStyle,
  FWidgetStateMap<IconThemeData>? iconStyle,
  FWidgetStateMap<FCircularProgressStyle>? circularProgressStyle,
  EdgeInsetsGeometry? padding,
  double? spacing,
}) => FButtonContentStyle(
  textStyle: textStyle ?? this.textStyle,
  iconStyle: iconStyle ?? this.iconStyle,
  circularProgressStyle: circularProgressStyle ?? this.circularProgressStyle,
  padding: padding ?? this.padding,
  spacing: spacing ?? this.spacing,
);