copyWith method

MinTypography copyWith({
  1. TextStyle? h1,
  2. TextStyle? h2,
  3. TextStyle? h3,
  4. TextStyle? body,
  5. TextStyle? small,
  6. TextStyle? muted,
})

Implementation

MinTypography copyWith({
  TextStyle? h1,
  TextStyle? h2,
  TextStyle? h3,
  TextStyle? body,
  TextStyle? small,
  TextStyle? muted,
}) {
  return MinTypography(
    h1: h1 ?? this.h1,
    h2: h2 ?? this.h2,
    h3: h3 ?? this.h3,
    body: body ?? this.body,
    small: small ?? this.small,
    muted: muted ?? this.muted,
  );
}