feat: added more editor settings

This commit is contained in:
jideguru
2021-06-03 00:37:45 +01:00
parent 9ce8ad2365
commit 75ae842f4b
3 changed files with 9 additions and 29 deletions

View File

@@ -1,5 +1,3 @@
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
import 'package:path/path.dart';
@@ -21,8 +19,9 @@ class FontsDialog extends StatelessWidget {
children: [
for (SystemFont font in getSystemFonts())
InkWell(
child: Html(data: '<p style="font-family:${font.name}">'
'${basename(font.path!)}</p>'),
child: Html(
data: '<p style="font-family:${font.name}">'
'${basename(font.path!)}</p>'),
onTap: () {
Navigator.pop(context, font.name);
},