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

View File

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

View File

@ -30,12 +30,6 @@ dependencies:
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:
flutter_test:
sdk: flutter
@ -69,10 +63,16 @@ flutter:
- family: K Gothic
fonts:
- asset: assets/fonts/K Gothic.ttf
- family: Heart Warming
fonts:
- 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
# https://flutter.dev/assets-and-images/#resolution-aware.