copyWith method
- @useResult
- FTileStateStyle? pressable,
- FTileStateStyle? unpressable,
inherited
Returns a copy of this FTileStyle 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
FTileStyle copyWith({FTileStateStyle? pressable, FTileStateStyle? unpressable}) =>
FTileStyle(pressable: pressable ?? this.pressable, unpressable: unpressable ?? this.unpressable);