diff --git a/example/assets/fonts/MonoSpace.ttf b/example/assets/fonts/MonoSpace.ttf new file mode 100644 index 00000000..d7134951 Binary files /dev/null and b/example/assets/fonts/MonoSpace.ttf differ diff --git a/example/assets/fonts/SansSerif.ttf b/example/assets/fonts/SansSerif.ttf new file mode 100644 index 00000000..e21ff5f1 Binary files /dev/null and b/example/assets/fonts/SansSerif.ttf differ diff --git a/example/assets/fonts/Serif.ttf b/example/assets/fonts/Serif.ttf new file mode 100644 index 00000000..892423b5 Binary files /dev/null and b/example/assets/fonts/Serif.ttf differ diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 91d25f0c..7502b701 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -56,7 +56,16 @@ flutter: assets: - assets/ - + fonts: + - family: monospace + fonts: + - asset: assets/fonts/MonoSpace.ttf + - family: serif + fonts: + - asset: assets/fonts/Serif.ttf + - family: sans-serif + fonts: + - asset: assets/fonts/SansSerif.ttf # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware.