27 lines
624 B
Dart
27 lines
624 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import '../helpers/sampl_routes.dart';
|
|
|
|
import 'pages/home_view.dart';
|
|
|
|
void main() {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GetMaterialApp(
|
|
title: 'Flutter Demo',
|
|
theme: ThemeData(colorScheme: .fromSeed(seedColor: Colors.deepPurple)),
|
|
initialBinding: SampleRouts.sampleBindings,
|
|
getPages: SampleRouts.samplePages,
|
|
debugShowCheckedModeBanner: false,
|
|
initialRoute: HomePage.namedRoute,
|
|
);
|
|
}
|
|
}
|
|
|