modern_themes 1.5.4 modern_themes: ^1.5.4 copied to clipboard
A Package to implement, change and use Themes. This Package uses the most modern Material Design to create beautiful Themes
library modern_themes;
import 'package:flutter/material.dart';
import 'package:modern_themes/modern_themes.dart';
void main() {
runApp(const ExampleApp());
}
class ExampleApp extends StatelessWidget {
const ExampleApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: const Scaffold(),
// Themes
themeMode: Themes.themeMode,
theme: Themes.lightTheme,
darkTheme: Themes.darkTheme,
highContrastTheme: Themes.highContrastLightTheme,
highContrastDarkTheme: Themes.highContrastDarkTheme,
);
}
}