32 lines
928 B
Dart
32 lines
928 B
Dart
import 'package:aurcache/screens/home/home_screen.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
|
|
import 'core/constants/color_constants.dart';
|
|
|
|
void main() {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
debugShowCheckedModeBanner: false,
|
|
title: 'Smart Dashboard - Admin Panel v0.1 ',
|
|
theme: ThemeData.dark().copyWith(
|
|
appBarTheme: const AppBarTheme(backgroundColor: bgColor, elevation: 0),
|
|
scaffoldBackgroundColor: bgColor,
|
|
primaryColor: greenColor,
|
|
dialogBackgroundColor: secondaryColor,
|
|
textTheme: GoogleFonts.openSansTextTheme(Theme.of(context).textTheme)
|
|
.apply(bodyColor: Colors.white),
|
|
canvasColor: secondaryColor,
|
|
),
|
|
home: const HomeScreen(),
|
|
);
|
|
}
|
|
}
|