Files
notes-app/lib/main.dart
2022-02-08 17:22:40 +03:00

45 lines
1.2 KiB
Dart

import 'package:flutter/material.dart';
import 'package:notes_app/screens/note_list.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'NoteKeeper',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.deepPurple,
textTheme: const TextTheme(
headline5: TextStyle(
fontFamily: 'Sans',
fontWeight: FontWeight.bold,
color: Colors.black,
fontSize: 24),
bodyText2: TextStyle(
fontFamily: 'Sans',
fontWeight: FontWeight.bold,
color: Colors.black,
fontSize: 20),
bodyText1: TextStyle(
fontFamily: 'Sans',
fontWeight: FontWeight.normal,
color: Colors.black,
fontSize: 18),
subtitle2: TextStyle(
fontFamily: 'Sans',
fontWeight: FontWeight.normal,
color: Colors.black,
fontSize: 14),
),
),
home: const NoteList(),
);
}
}