mirror of
https://github.com/bimsina/notes-app.git
synced 2025-05-17 06:26:01 +08:00
45 lines
1.2 KiB
Dart
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(),
|
|
);
|
|
}
|
|
}
|