96f8f95924
- Created runner.exe.manifest to enable DPI awareness and dark mode support. - Implemented utility functions in utils.cpp and utils.h for console creation and command line argument handling. - Developed Win32Window class in win32_window.cpp and win32_window.h to manage high DPI-aware windows, including theme updates and message handling.
18 lines
494 B
Dart
18 lines
494 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AppTheme {
|
|
static ThemeData get theme {
|
|
return ThemeData(
|
|
useMaterial3: true,
|
|
scaffoldBackgroundColor: const Color.fromRGBO(31, 32, 33, 1),
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: Colors.amber,
|
|
brightness: Brightness.dark,
|
|
),
|
|
floatingActionButtonTheme: const FloatingActionButtonThemeData(
|
|
backgroundColor: Colors.amber,
|
|
foregroundColor: Colors.black,
|
|
),
|
|
);
|
|
}
|
|
} |