date_colors

Creator: coderz1093

Last updated:

0 purchases

date_colors Image
date_colors Images

Languages

Categories

Add to Cart

Description:

date colors

DateColors #
DateColors is a Flutter package to generate a color scheme based on a date. The
color scheme includes a color for the calendar day and a color for the year.
Consider taking a look into the manual for specifications and color
codes.
Visit our website for more details.
Created and maintained by LitLifeSoftware.
Features #

Generate a color based on the current year.
Generate a color based on the season of the current year.
Generate a combined color based on the current year and the season of the current year.
Generate an unique color of the current year.
Generate an unique color based on the date.




Screenshot 1
Screenshot 2
Screenshot 3










Getting started #
For help getting started with Flutter, view Flutter's
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Usage #
To use DateColors in your Flutter app make sure to import it by including the
code line import 'package:date_colors/date_colors.dart'; in the header part
of your .dart file.
Create a DateColorScheme instance by providing a DateTime object.
DateColorScheme scheme = DateColorScheme(DateTime.now());
copied to clipboard
Access the generated colors by calling the scheme's properties.
Color color = scheme.colorOfTheSeason;
copied to clipboard
The /example folder contains an example app demonstrating how DateColors could be implemented.
Dependencies #
DateColors uses the following Dart dependencies in order to implement certain
features and functionality:

crypto - License (Creates a hash required to generate unique colors)

Credits #
DateColors is made possible thanks to the Flutter Project.
License #
The source code of this repository is distributed under the
BSD 3-Clause license as specified in the LICENSE file.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.