Update font

This commit is contained in:
Oystein Kristoffer Tveit 2022-02-03 00:05:08 +01:00
parent 9e7632a8d5
commit 4a98522973
4 changed files with 8 additions and 31 deletions

Binary file not shown.

View File

@ -1,9 +1,7 @@
import 'package:tangocard_reader/router.dart'; import 'package:tangocard_reader/router.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
void main() { void main() => runApp(const MyApp());
runApp(const MyApp());
}
class MyApp extends StatelessWidget { class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key); const MyApp({Key? key}) : super(key: key);
@ -13,6 +11,7 @@ class MyApp extends StatelessWidget {
return MaterialApp( return MaterialApp(
title: 'Tangocard Reader', title: 'Tangocard Reader',
theme: ThemeData( theme: ThemeData(
fontFamily: 'Noto Sans CJK',
primarySwatch: Colors.blue, primarySwatch: Colors.blue,
), ),
initialRoute: '/', initialRoute: '/',

View File

@ -43,13 +43,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.15.0" version: "1.15.0"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
fake_async: fake_async:
dependency: transitive dependency: transitive
description: description:
@ -95,13 +88,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.7.0" version: "1.7.0"
nested:
dependency: transitive
description:
name: nested
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
path: path:
dependency: transitive dependency: transitive
description: description:
@ -109,13 +95,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0" version: "1.8.0"
provider:
dependency: "direct main"
description:
name: provider
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.0"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -179,4 +158,3 @@ packages:
version: "2.1.1" version: "2.1.1"
sdks: sdks:
dart: ">=2.14.0 <3.0.0" dart: ">=2.14.0 <3.0.0"
flutter: ">=1.16.0"

View File

@ -30,12 +30,6 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
provider: ^6.0.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
@ -69,10 +63,16 @@ flutter:
- family: K Gothic - family: K Gothic
fonts: fonts:
- asset: assets/fonts/K Gothic.ttf - asset: assets/fonts/K Gothic.ttf
- family: Heart Warming - family: Heart Warming
fonts: fonts:
- asset: assets/fonts/Heart Warming.otf - asset: assets/fonts/Heart Warming.otf
- family: Noto Sans CJK
fonts:
- asset: assets/fonts/NotoSansCJK-Regular.ttc
# An image asset can refer to one or more resolution-specific "variants", see # An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware. # https://flutter.dev/assets-and-images/#resolution-aware.