mirror of
https://github.com/bimsina/notes-app.git
synced 2025-08-06 19:15:58 +08:00
43 lines
1.1 KiB
Dart
43 lines
1.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:notes_app/screens/note_list.dart';
|
|
|
|
void main() {
|
|
runApp(MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'NoteKeeper',
|
|
debugShowCheckedModeBanner: false,
|
|
theme: ThemeData(
|
|
primarySwatch: Colors.deepPurple,
|
|
textTheme: TextTheme(
|
|
headline: TextStyle(
|
|
fontFamily: 'Sans',
|
|
fontWeight: FontWeight.bold,
|
|
color: Colors.black,
|
|
fontSize: 24),
|
|
body1: TextStyle(
|
|
fontFamily: 'Sans',
|
|
fontWeight: FontWeight.bold,
|
|
color: Colors.black,
|
|
fontSize: 20),
|
|
body2: TextStyle(
|
|
fontFamily: 'Sans',
|
|
fontWeight: FontWeight.normal,
|
|
color: Colors.black,
|
|
fontSize: 18),
|
|
subtitle: TextStyle(
|
|
fontFamily: 'Sans',
|
|
fontWeight: FontWeight.normal,
|
|
color: Colors.black,
|
|
fontSize: 14),
|
|
),
|
|
),
|
|
home: NoteList(),
|
|
);
|
|
}
|
|
}
|