date_colors 0.0.1 date_colors: ^0.0.1 copied to clipboard
A Flutter package to generate a color scheme based on a date.
import 'package:example/screens.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const App());
}
class App extends StatelessWidget {
const App({Key? key}) : super(key: key);
static const String title = 'DateColors Example';
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: App.title,
theme: ThemeData(
colorScheme: ColorScheme.fromSwatch(
primarySwatch: Colors.blueGrey,
),
useMaterial3: true,
),
home: const HomeScreen(),
);
}
}