static TextTheme _buildTextTheme(TextTheme baseTheme) { return(baseTheme.copyWith( title: baseTheme.title.copyWith( fontFamily: "GoogleSans" ) )); }
private static TextTheme _buildTextTheme(TextTheme baseTheme) { if (_defaultGalleryFontFamily != "") { return(baseTheme.copyWith( headline6: baseTheme.headline6.copyWith( fontFamily: _defaultGalleryFontFamily ) )); } return(baseTheme); }
static TextTheme _buildShrineTextTheme(TextTheme _base) { return(_base.copyWith( headline5: _base.headline5.copyWith(fontWeight: FontWeight.w500), headline6: _base.headline6.copyWith(fontSize: 18.0f), caption: _base.caption.copyWith(fontWeight: FontWeight.w400, fontSize: 14.0f), bodyText1: _base.bodyText1.copyWith(fontWeight: FontWeight.w500, fontSize: 16.0f), button: _base.button.copyWith(fontWeight: FontWeight.w500, fontSize: 14.0f) ).apply( fontFamily: "Raleway", displayColor: shrineColorsUtils.kShrineBrown900, bodyColor: shrineColorsUtils.kShrineBrown900 )); }