flutter_tutorial/lib/main.dart

27 lines
581 B
Dart
Raw Normal View History

2025-06-17 01:58:04 +00:00
import 'package:flutter/material.dart';
import 'loginPage.dart';
2025-07-28 13:11:06 +00:00
import 'buttonPage.dart';
2025-06-17 01:58:04 +00:00
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
2025-07-28 13:11:06 +00:00
title: 'Flutter tutorial',
2025-06-17 01:58:04 +00:00
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const LoginPage(),
2025-07-28 13:11:06 +00:00
// home: const ButtonPage(),
2025-06-17 01:58:04 +00:00
);
}
}