Initial commit
This commit is contained in:
24
frontend/lib/main.dart
Normal file
24
frontend/lib/main.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'screens/notes_screen.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const NotesApp());
|
||||
}
|
||||
|
||||
class NotesApp extends StatelessWidget {
|
||||
const NotesApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
title: 'Notes — Flutter + Go gRPC',
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.indigo),
|
||||
useMaterial3: true,
|
||||
),
|
||||
home: const NotesScreen(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user