mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-07-07 19:46:32 +08:00
25 lines
456 B
Dart
25 lines
456 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'home_page.dart';
|
|
|
|
void main() {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({Key? key}) : super(key: key);
|
|
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Pen Assignement',
|
|
theme: ThemeData(
|
|
|
|
primarySwatch: Colors.blue,
|
|
),
|
|
home:HomePage(),
|
|
);
|
|
}
|
|
}
|