copyWith method
- @useResult
- FWidgetStateMap<
TextStyle> ? textStyle, - FWidgetStateMap<
IconThemeData> ? iconStyle, - EdgeInsetsGeometry? padding,
inherited
Returns a copy of this FButtonContentStyle 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
FButtonContentStyle copyWith({
FWidgetStateMap<TextStyle>? textStyle,
FWidgetStateMap<IconThemeData>? iconStyle,
EdgeInsetsGeometry? padding,
}) => FButtonContentStyle(
textStyle: textStyle ?? this.textStyle,
iconStyle: iconStyle ?? this.iconStyle,
padding: padding ?? this.padding,
);