added font
This commit is contained in:
parent
750a228921
commit
53849f16d1
17 changed files with 100 additions and 0 deletions
|
|
@ -1,4 +1,6 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:permission_handler/permission_handler.dart';
|
||||
import 'themes/day.dart';
|
||||
|
|
@ -8,6 +10,10 @@ import 'note_list.dart';
|
|||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await Permission.storage.request();
|
||||
LicenseRegistry.addLicense(() async* {
|
||||
final license = await rootBundle.loadString('google_fonts/OFL.txt');
|
||||
yield LicenseEntryWithLineBreaks(['google_fonts'], license);
|
||||
});
|
||||
runApp(MuzzleVelocityApp());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue