copyWith method

  1. @override
DefaultTypography copyWith({
  1. VoColors? colors,
  2. VoSizes? sizes,
})
override

Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.

Implementation

@override
DefaultTypography copyWith({VoColors? colors, VoSizes? sizes}) =>
    DefaultTypography(colors: colors ?? _colors, sizes: sizes ?? _sizes);