feat: added more editor settings
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user