notoSans static method
TextStyle
notoSans({
- TextStyle? textStyle,
- Color? color,
- Color? backgroundColor,
- double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- TextBaseline? textBaseline,
- double? height,
- Locale? locale,
- Paint? foreground,
- Paint? background,
- List<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
Applies the Noto Sans font family from Google Fonts to the
given textStyle
.
See:
Implementation
static TextStyle notoSans({
TextStyle? textStyle,
Color? color,
Color? backgroundColor,
double? fontSize,
FontWeight? fontWeight,
FontStyle? fontStyle,
double? letterSpacing,
double? wordSpacing,
TextBaseline? textBaseline,
double? height,
Locale? locale,
Paint? foreground,
Paint? background,
List<ui.Shadow>? shadows,
List<ui.FontFeature>? fontFeatures,
TextDecoration? decoration,
Color? decorationColor,
TextDecorationStyle? decorationStyle,
double? decorationThickness,
}) {
final fonts = <GoogleFontsVariant, GoogleFontsFile>{
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'11003808709f190eb026564f43f00a1cc6b10735f271cb10c770b9a8b9f9d459',
498864,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w100,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'982692716d94dc95171233e1a919f59858b11f72d30a9f2fc6aaaee637a6e61e',
348744,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'8aa4e24a8e98829ca02198cea79199710f3725b48914c0798d5f66fc43db9b0e',
496580,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w200,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f6788c95f256cf1b5b9cd2e2c6bb4d8e7e601f7a09b595ff981827b05b90a3b5',
346996,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'c78a7dfc15e83c8fd2791f4e78363488d9c3b003fa1f49eb9d69f3bca08b0a4e',
492416,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w300,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'7ae63aa88fdc6d6adeafd848ab763454276a86383cfad58d8285aff73a484aac',
345012,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'4c1661f6a9a227f31867ac2e3d3c5bede223077c546d2cd03fb342629e2eebef',
493756,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'af265964aae91b01190a8267843cbf56c256aa85fde7bd343951850070418e6c',
343720,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'cf1c1e2a090af5cfceab46767e6ad1f6f9c535148edb48947f178667f4b46eec',
492856,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w500,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'a3edc44a0e5873dcd0a958d8abb3ce68ae215d56d763880fff33c34cac660f9f',
342656,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'9e77d947ccdc4e1f77f4e71345dae58a6912371acf4537d8a39501c442162b5c',
494364,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w600,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'6d65ed37f13d7a92b9e110c6be2f3788afaff2262d2514a8cec66930d75bd584',
341316,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'b50c4673878c2b86ac991a1d4aaac461712b0b1e1495b77efba503675bfc6df7',
494836,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'cbe64e59514aa5e599fe72e681a485f9a428fbc2bd51e5a71cf94ebb7c2c8d64',
341620,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'f3b73c4eb995d0b66a9b7c478cda097dbdcd6682a9cc36a3dddba2df6909be23',
494568,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w800,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'e188c5806e21963a705632e4933f35a661f79a5286f7e2f1a1ba37a209ee2d8b',
341540,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.normal,
): GoogleFontsFile(
'21f55a692b80d4eeff46a9b04b08a8c34c56e33ebd33b5f08d6dba866003cf61',
494104,
),
const GoogleFontsVariant(
fontWeight: FontWeight.w900,
fontStyle: FontStyle.italic,
): GoogleFontsFile(
'f8cbd2edf7ed6591f66d1c5cff2dfbe4e853ea2fcac983aa767ad3a776abf27a',
342916,
),
};
return googleFontsTextStyle(
textStyle: textStyle,
fontFamily: 'NotoSans',
color: color,
backgroundColor: backgroundColor,
fontSize: fontSize,
fontWeight: fontWeight,
fontStyle: fontStyle,
letterSpacing: letterSpacing,
wordSpacing: wordSpacing,
textBaseline: textBaseline,
height: height,
locale: locale,
foreground: foreground,
background: background,
shadows: shadows,
fontFeatures: fontFeatures,
decoration: decoration,
decorationColor: decorationColor,
decorationStyle: decorationStyle,
decorationThickness: decorationThickness,
fonts: fonts,
);
}