copyWith method

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

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

Consider using the CLI to generate a style.

Parameters

Implementation

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