import 'package:expensetracker/screens/home/views/home_screen.dart';
import 'package:flutter/material.dart';
class MyAppView extends StatelessWidget {
const MyAppView({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Expense Tracker',
theme: ThemeData(
colorScheme: ColorScheme.light(
background: Colors.grey.shade100,
onBackground: Colors.black,
primary: const Color(0xFF00B2E7),
secondary: const Color(0xFFE064F7),
tertiary: const Color(0xFFFF8D6C),
outline: Colors.grey),
),
home: const HomeScreen(),
);
}
}
我只是想要相同的问题结果,遗憾的是背景已被废弃。