copyWith method

FdcCounterStyle copyWith({
  1. TextStyle? textStyle,
  2. Alignment? alignment,
  3. Offset? offset,
  4. double? height,
})

Creates a copy with selected values replaced.

Implementation

FdcCounterStyle copyWith({
  TextStyle? textStyle,
  Alignment? alignment,
  Offset? offset,
  double? height,
}) {
  return FdcCounterStyle(
    textStyle: textStyle ?? this.textStyle,
    alignment: alignment ?? this.alignment,
    offset: offset ?? this.offset,
    height: height ?? this.height,
  );
}