copyWith method
- @useResult
- FWidgetStateMap<
IconThemeData> ? iconStyle, - 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);