Skip to content

Commit

Permalink
update: font family
Browse files Browse the repository at this point in the history
  • Loading branch information
raffyxyz committed Nov 30, 2023
1 parent 1341d7b commit 8fb0489
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:downloader_app/models/History.dart';
import 'package:downloader_app/screens/main_screen.dart';
import 'package:flutter/material.dart';
import 'package:hive_flutter/adapters.dart';
import 'package:google_fonts/google_fonts.dart';

void main() async {
WidgetsFlutterBinding.ensureInitialized();
Expand All @@ -25,22 +26,8 @@ class MyApp extends StatelessWidget {
debugShowCheckedModeBanner: false,
title: 'Tiktok Save',
theme: ThemeData(
// This is the theme of your application.
//
// TRY THIS: Try running your application with "flutter run". You'll see
// the application has a blue toolbar. Then, without quitting the app,
// try changing the seedColor in the colorScheme below to Colors.green
// and then invoke "hot reload" (save your changes or press the "hot
// reload" button in a Flutter-supported IDE, or press "r" if you used
// the command line to start the app).
//
// Notice that the counter didn't reset back to zero; the application
// state is not lost during the reload. To reset the state, use hot
// restart instead.
//
// This works for code too, not just values: Most code changes can be
// tested with just a hot reload.
colorScheme: colorScheme,
fontFamily: GoogleFonts.quicksand().fontFamily,
useMaterial3: true,
),
home: const MainScreen(),
Expand Down

0 comments on commit 8fb0489

Please sign in to comment.