chore(example): remove SF-UI-Display font

pull/1914/head
Ellet 10 months ago
parent 225fa9546d
commit 59c41f2148
  1. BIN
      example/assets/fonts/SF-Pro-Display-Regular.otf
  2. 3
      example/lib/gen/fonts.gen.dart
  3. 2
      example/lib/screens/quill/my_quill_editor.dart
  4. 3
      example/pubspec.yaml

@ -10,9 +10,6 @@
class FontFamily { class FontFamily {
FontFamily._(); FontFamily._();
/// Font family: SF-UI-Display
static const String sFUIDisplay = 'SF-UI-Display';
/// Font family: ibarra-real-nova /// Font family: ibarra-real-nova
static const String ibarraRealNova = 'ibarra-real-nova'; static const String ibarraRealNova = 'ibarra-real-nova';

@ -54,11 +54,9 @@ class MyQuillEditor extends StatelessWidget {
), ),
sizeSmall: TextStyle(fontSize: 9), sizeSmall: TextStyle(fontSize: 9),
subscript: TextStyle( subscript: TextStyle(
fontFamily: 'SF-UI-Display',
fontFeatures: [FontFeature.subscripts()], fontFeatures: [FontFeature.subscripts()],
), ),
superscript: TextStyle( superscript: TextStyle(
fontFamily: 'SF-UI-Display',
fontFeatures: [FontFeature.superscripts()], fontFeatures: [FontFeature.superscripts()],
), ),
), ),

@ -108,8 +108,5 @@ flutter:
- family: roboto-mono - family: roboto-mono
fonts: fonts:
- asset: assets/fonts/RobotoMono-Regular.ttf - asset: assets/fonts/RobotoMono-Regular.ttf
- family: SF-UI-Display
fonts:
- asset: assets/fonts/SF-Pro-Display-Regular.otf
flutter_gen: flutter_gen:
Loading…
Cancel
Save