chore: removed google fonts dependency #54 (#55)

## Pull Request Description

Added the google fonts locally
Also added back saved servers for web

## Issue Being Fixed

Issue Number: #54 

## Screenshots / Recordings

<!-- This section is optional but highly recommended to show off your
changes! -->

## Checklist

- [ ] If a new package was added, did you ensure it works for all
supported platforms? Is the package also well maintained?
- [ ] Did you add localization for any text? If yes, did you sort the
.arb file using ```arb_utils sort <INPUT_FILE>```?
- [ ] Check that any changes are related to the issue at hand.

---------

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2024-10-20 09:42:53 +02:00 committed by GitHub
parent ff45bb8641
commit 9df13cfb34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 189 additions and 64 deletions

View file

@ -2,12 +2,13 @@
import 'dart:convert';
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:collection/collection.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:fladder/providers/settings/subtitle_settings_provider.dart';
import 'package:fladder/providers/settings/video_player_settings_provider.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:google_fonts/google_fonts.dart';
class SubtitleSettingsModel {
final double fontSize;
@ -79,7 +80,7 @@ class SubtitleSettingsModel {
height: 1.4,
fontSize: fontSize,
fontWeight: fontWeight,
fontFamily: GoogleFonts.openSans().fontFamily,
fontFamily: 'OpenSans',
letterSpacing: 0.0,
wordSpacing: 0.0,
color: color,