add two more fonts

pull/892/head
li3317 3 years ago
parent 18c4d50af6
commit 56752787c7
  1. BIN
      example/assets/fonts/IbarraRealNova-Regular.ttf
  2. BIN
      example/assets/fonts/SquarePeg-Regular.ttf
  3. 7
      example/pubspec.yaml
  4. 2
      lib/src/widgets/toolbar.dart

@ -67,6 +67,13 @@ flutter:
- family: sans-serif
fonts:
- asset: assets/fonts/SansSerif.ttf
- family: ibarra-real-nova
fonts:
- asset: assets/fonts/IbarraRealNova-Regular.ttf
- family: square-peg
fonts:
- asset: assets/fonts/SquarePeg-Regular.ttf
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.

@ -176,6 +176,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
'Sans Serif': 'sans-serif',
'Serif': 'serif',
'Monospace': 'monospace',
'Ibarra Real Nova': 'ibarra-real-nova',
'SquarePeg': 'square-peg',
'Clear': 'Clear'
};

Loading…
Cancel
Save