Implementation
factory NBFontWeights({
FontWeight? hairline,
FontWeight? thin,
FontWeight? light,
FontWeight? normal,
FontWeight? medium,
FontWeight? semiBold,
FontWeight? bold,
FontWeight? extraBold,
FontWeight? black,
FontWeight? extraBlack,
}) {
return NBFontWeights._raw(
hairline: hairline ?? baseNBFontWeights.hairline!,
thin: thin ?? baseNBFontWeights.thin!,
light: light ?? baseNBFontWeights.light!,
normal: normal ?? baseNBFontWeights.normal!,
medium: medium ?? baseNBFontWeights.medium!,
semibold: semiBold ?? baseNBFontWeights.semibold!,
bold: bold ?? baseNBFontWeights.bold!,
extrabold: extraBold ?? baseNBFontWeights.extrabold!,
black: black ?? baseNBFontWeights.black!,
extraBlack: extraBlack ?? baseNBFontWeights.extraBlack!,
);
}