copyWith method

  1. @useResult
FButtonIconContentStyle copyWith({
  1. FWidgetStateMap<IconThemeData>? iconStyle,
  2. EdgeInsetsGeometry? padding,
})
inherited

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

Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.

Implementation

@useResult
FButtonIconContentStyle copyWith({FWidgetStateMap<IconThemeData>? iconStyle, EdgeInsetsGeometry? padding}) =>
    FButtonIconContentStyle(iconStyle: iconStyle ?? this.iconStyle, padding: padding ?? this.padding);