Complete TodoApp sample application with: - App.xaml/cs: Colors and styles for light/dark themes - TodoListPage: Task list with theme toggle switch - NewTodoPage: Form to create new tasks - TodoDetailPage: Edit task details with delete option - TodoItem.cs/TodoService.cs: Data model and service - SVG icons for save, delete, and add actions Theme switching via toggle on main page applies app-wide. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
292 B
C#
15 lines
292 B
C#
using Microsoft.Maui.ApplicationModel;
|
|
using Microsoft.Maui.Controls;
|
|
|
|
namespace TodoApp;
|
|
|
|
public partial class App : Application
|
|
{
|
|
public App()
|
|
{
|
|
InitializeComponent();
|
|
UserAppTheme = AppTheme.Light;
|
|
MainPage = new NavigationPage(new TodoListPage());
|
|
}
|
|
}
|