From d4d8bc52492e5fcf960fbedbbd017bf5b08120df Mon Sep 17 00:00:00 2001 From: Ralf Weinbrecher Date: Thu, 24 Mar 2022 16:32:05 +0100 Subject: [PATCH] feat(color): Color properties for forground color of day #34 https://github.com/rwbr/flutter_neat_and_clean_calendar/issues/34 --- CHANGELOG.md | 4 ++++ README.md | 4 ++++ example/pubspec.lock | 2 +- pubspec.yaml | 10 +++++----- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23f4f02..3c7d017 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.3.4+17] - 2022-03-23 +* Issue #34 closed +* Properties for default day text colors + ## [0.3.3+16] - 2022-03-23 * Issue #32 closed * Option startOnMonday wasn't working correctly for the month view diff --git a/README.md b/README.md index 574a78d..3c941e1 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,8 @@ For more details see the **example**. /// top bar well get suppressed. Default is [false]. /// [hideBottomBar] at the moment has no function. Default is [false]. /// [events] are of type [Map>]. This data structure containes the events to display +/// [defaultDayColor] is the color applied to days in the current month, that are not selected. +/// [defaultOutOfMonthDayColor] is the color applied to days outside the current month. /// [selctedColor] this is the color, applied to the circle on the selcted day /// [todayColor] this is the color of the date of today /// [todayButtonText] is a [String]. With this property you can set the caption of the today icon (button to navigate to today). @@ -149,6 +151,8 @@ final bool hideTodayIcon; 'Use `eventsList` instead. Will be removed in NeatAndCleanCalendar 0.4.0') final Map>? events; final List? eventsList; +final Color? defaultDayColor; +final Color? defaultOutOfMonthDayColor; final Color? selectedColor; final Color? todayColor; final String todayButtonText; diff --git a/example/pubspec.lock b/example/pubspec.lock index d41e9ce..6a4be67 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -68,7 +68,7 @@ packages: path: ".." relative: true source: path - version: "0.3.3+16" + version: "0.3.4+17" flutter_test: dependency: "direct dev" description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index 708a062..3e08aef 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,9 +1,9 @@ name: flutter_neat_and_clean_calendar description: >- - Simple and clean flutter calendar with ability to - slide up/down to show weekly/monthly calendar. - Fork of https://pub.dev/packages/flutter_clean_calendar -version: 0.3.3+16 + Simple and clean flutter calendar with ability to slide up/down to show + weekly/monthly calendar. Fork of + https://pub.dev/packages/flutter_clean_calendar +version: 0.3.4+17 homepage: https://github.com/rwbr/flutter_neat_and_clean_calendar environment: @@ -18,4 +18,4 @@ dev_dependencies: flutter_test: sdk: flutter -flutter: +flutter: null