Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
2cd1c7c
Update README.md
aleksanderwozniak Sep 1, 2020
33d3d05
AndroidX migration
aleksanderwozniak Oct 15, 2020
3710547
Add holidays to onDaySelected
aleksanderwozniak Oct 15, 2020
9617d5c
Replace deprecated overflow property
aleksanderwozniak Oct 15, 2020
dc67941
Use default formatting
aleksanderwozniak Oct 15, 2020
dde2919
Release version 2.3.0
aleksanderwozniak Oct 15, 2020
889220f
Update README.md
aleksanderwozniak Oct 27, 2020
c7a24b9
Merge branch '2.3.0-stable' of https://github.com/aleksanderwozniak/t…
aleksanderwozniak Nov 22, 2020
e99ef06
Improve naming and docs
aleksanderwozniak Nov 22, 2020
50c9c04
Release version 2.3.1
aleksanderwozniak Nov 22, 2020
1b2f89d
Add previousPage and nextPage methods
aleksanderwozniak Dec 10, 2020
b839da1
Release version 2.3.2
aleksanderwozniak Dec 10, 2020
e6a230a
upgrade dependency for supporting intl with null-safety
nerder Dec 17, 2020
84237d8
Merge pull request #364 from nerder/patch-1
aleksanderwozniak Dec 17, 2020
64d5f29
Update dependencies
aleksanderwozniak Dec 17, 2020
5721fee
Release version 2.3.3
aleksanderwozniak Dec 17, 2020
691f1a1
Rework internal components
aleksanderwozniak Jan 5, 2021
b193e4a
Return selectedDay in unavailableDaySelected callback
aleksanderwozniak Jan 5, 2021
e3d2e36
Improve selectedDay updates
aleksanderwozniak Jan 5, 2021
0657745
Update height on startingDay change
aleksanderwozniak Jan 6, 2021
5c15356
Normalize headers
aleksanderwozniak Jan 6, 2021
15b46bd
Update .gitignore
aleksanderwozniak Jan 6, 2021
325f864
Update dependencies
aleksanderwozniak Jan 6, 2021
71ae233
Update docs
aleksanderwozniak Jan 6, 2021
ef77562
Allow null selectedDay
aleksanderwozniak Jan 7, 2021
e7d4f34
Add updated examples
aleksanderwozniak Jan 7, 2021
fea582c
Format fixes and improvements
aleksanderwozniak Jan 11, 2021
deb557e
Prevent month navigation on selecting outside days
aleksanderwozniak Jan 11, 2021
5202ee1
Update examples
aleksanderwozniak Jan 11, 2021
ea67e52
Use correct base for toggling formats
aleksanderwozniak Jan 13, 2021
91fc3a3
Improve internal code
aleksanderwozniak Jan 31, 2021
30a22f7
Update examples
aleksanderwozniak Jan 31, 2021
280f07f
Fix naming
aleksanderwozniak Jan 31, 2021
236362e
Improve AnimatedContainer behavior inside builders
aleksanderwozniak Jan 31, 2021
3404f90
Replace selectedDay with a predicate
aleksanderwozniak Jan 31, 2021
1f1ed07
Update examples
aleksanderwozniak Jan 31, 2021
f63a9b8
Add multiple selection example
aleksanderwozniak Jan 31, 2021
8750f00
Update multi example
aleksanderwozniak Jan 31, 2021
f3818de
Use isSameDay to compare dates
aleksanderwozniak Jan 31, 2021
32368f6
Add docs
aleksanderwozniak Jan 31, 2021
5d89f87
Use LinkedHashSet in example
aleksanderwozniak Jan 31, 2021
99b52e7
Code improvements
aleksanderwozniak Feb 2, 2021
5860c05
Add shouldFillViewport property
aleksanderwozniak Feb 2, 2021
9fddbbb
WeekendBuilder removed
aleksanderwozniak Feb 3, 2021
30f303f
Added rangeHighlightBuilder
aleksanderwozniak Feb 3, 2021
356440c
Improved marker and highlight positioning
aleksanderwozniak Feb 3, 2021
f865734
Rename rangeFill to rangeHighlight
aleksanderwozniak Feb 3, 2021
8f6f47c
Rename markerPosition to markersAnchor
aleksanderwozniak Feb 3, 2021
8d2472b
Update examples
aleksanderwozniak Feb 4, 2021
c6bc17c
Update docs
aleksanderwozniak Feb 4, 2021
b65dffb
Add CalendarBuilders docs
aleksanderwozniak Feb 4, 2021
e63b095
Replace BoxDecoration with Decoration
aleksanderwozniak Feb 4, 2021
8429b30
Update docs
aleksanderwozniak Feb 4, 2021
f1d0fc1
Update basic example
aleksanderwozniak Feb 7, 2021
4afefe2
Add onFormatChanged assertion
aleksanderwozniak Feb 7, 2021
37f3252
Update README.md
aleksanderwozniak Feb 7, 2021
443c6c2
Adapt dates on input
aleksanderwozniak Feb 9, 2021
d6a2f0f
Internal improvements
aleksanderwozniak Feb 9, 2021
b6fa26d
Add formatAnimationDuration and formatAnimationCurve
aleksanderwozniak Feb 11, 2021
ba0c47c
Add docs
aleksanderwozniak Feb 11, 2021
d1585f7
Add pageAnimationDuration and pageAnimationCurve
aleksanderwozniak Feb 11, 2021
27b087e
Refactor code
aleksanderwozniak Feb 11, 2021
3300ea7
Change default dayHitTestBehavior to opaque
aleksanderwozniak Feb 11, 2021
dcd63da
Add docs
aleksanderwozniak Feb 12, 2021
66eb072
Make names uniform
aleksanderwozniak Feb 12, 2021
3695e87
Replace part directive
aleksanderwozniak Feb 12, 2021
80f414e
Feat header title builder (#400)
lohanidamodar Feb 19, 2021
f1883b6
Add prioritized onDayLongPressed callback
aleksanderwozniak Feb 20, 2021
c43c087
Update basic example
aleksanderwozniak Feb 21, 2021
bf57f79
Link firstDay and lastDay to the current date
aleksanderwozniak Feb 21, 2021
f772f89
Improve control over range selection
aleksanderwozniak Feb 21, 2021
f823e7b
Update examples
aleksanderwozniak Feb 21, 2021
354d51d
Add complex example
aleksanderwozniak Feb 21, 2021
79433e4
Migrate package to null safety
aleksanderwozniak Feb 22, 2021
f26b34d
Migrate examples to null safety
aleksanderwozniak Feb 22, 2021
60a6276
Replace RaisedButton with ElevatedButton
aleksanderwozniak Feb 22, 2021
34b5ce4
Update typedefs
aleksanderwozniak Feb 22, 2021
c30f805
Add holidays to example
aleksanderwozniak Feb 22, 2021
170d8ca
Update README.md
aleksanderwozniak Feb 22, 2021
ce9be9a
Release version 3.0.0-nullsafety.0
aleksanderwozniak Feb 22, 2021
10fe6ad
Allow using widgets for header chevrons
aleksanderwozniak Mar 7, 2021
4adb9be
Update dependencies
aleksanderwozniak Mar 7, 2021
7a979b8
Release version 3.0.0-nullsafety.1
aleksanderwozniak Mar 7, 2021
53ec2bf
Update base day
aleksanderwozniak Mar 29, 2021
6e7c055
Rename buttons
aleksanderwozniak Mar 29, 2021
d1d5a79
Rename examples
aleksanderwozniak Mar 29, 2021
6549993
Update README.md
aleksanderwozniak Mar 29, 2021
f8dedd7
Make MarkerBuilder nullable
aleksanderwozniak Apr 6, 2021
c1fbe28
Update README.md
aleksanderwozniak Apr 6, 2021
b4329a9
Merge pull request #461 from aleksanderwozniak/3.0.0-nullsafety
aleksanderwozniak Apr 6, 2021
0bd7c55
Release version 3.0.0
aleksanderwozniak Apr 6, 2021
c40ed7a
added animation when changing months
FineFindus Apr 15, 2021
baeb497
added animatedPageScrolling option
FineFindus Apr 15, 2021
91130bb
Fix calendarFormat bug, improve scrolling animation
aleksanderwozniak Apr 18, 2021
3c1321c
Rename properties, update docs
aleksanderwozniak Apr 18, 2021
4d906d6
Rename animatedPageScrolling to pageAnimationEnabled
aleksanderwozniak Apr 18, 2021
129f7b0
Merge pull request #478 from FineFindus/feature/page-animation
aleksanderwozniak Apr 18, 2021
3acacf9
Add currentDay property
aleksanderwozniak Jun 26, 2021
869367d
Update docs
aleksanderwozniak Jun 26, 2021
d50b97b
Update example
aleksanderwozniak Jun 26, 2021
53c0dd1
Merge pull request #533 from aleksanderwozniak/current-day
aleksanderwozniak Jun 28, 2021
9f523a6
Release version 3.0.1
aleksanderwozniak Jun 28, 2021
ce95d14
Change in screen reader semantics label of for the days of the month
honoratoamg Jul 15, 2021
e0a51b5
added cell Padding and Alignment properties
ricardogobbo Jul 31, 2021
c2eebf7
Added TableBorder to CalendarStyle
fuganti Aug 9, 2021
9426de6
Merge pull request #548 from honoratoamg/addition_of_a_better_semanti…
aleksanderwozniak Aug 9, 2021
1c2272a
Refactor code
aleksanderwozniak Aug 10, 2021
7aa42f2
Release version 3.0.2
aleksanderwozniak Aug 10, 2021
521e428
Merge pull request #561 from ricardogobbo/master
aleksanderwozniak Sep 15, 2021
b110678
Rename new property
aleksanderwozniak Sep 15, 2021
a0b44ae
Merge pull request #566 from fuganti/master
aleksanderwozniak Sep 15, 2021
a713ec6
Add Semantics to prioritizedBuilder
aleksanderwozniak Oct 21, 2021
9744467
Update .gitignore
aleksanderwozniak Oct 21, 2021
bc8ad29
Release version 3.0.3
aleksanderwozniak Oct 21, 2021
d9b840c
Add utils tests
aleksanderwozniak Nov 6, 2021
a85719f
Add FormatButton tests
aleksanderwozniak Nov 6, 2021
5d74722
Add CustomIconButton tests
aleksanderwozniak Nov 6, 2021
cf31c86
Add CalendarHeader tests
aleksanderwozniak Nov 6, 2021
f182043
Add CalendarPage tests
aleksanderwozniak Nov 6, 2021
ce3ac55
Add CellContent tests
aleksanderwozniak Nov 7, 2021
6a8e109
Add TableCalendarBase tests
aleksanderwozniak Nov 7, 2021
641c297
Add a Key to CellContent to improve testing
aleksanderwozniak Nov 7, 2021
d5641ee
Add TableCalendar tests
aleksanderwozniak Nov 7, 2021
52b926e
Update tests
aleksanderwozniak Nov 7, 2021
60cfac1
Refactor key prefix
aleksanderwozniak Nov 7, 2021
3abf0e7
Merge pull request #614 from aleksanderwozniak/test
aleksanderwozniak Nov 7, 2021
5d92076
Update dependencies
aleksanderwozniak Feb 20, 2022
4db6e60
Clean redundant fields
aleksanderwozniak Feb 20, 2022
08c3c66
Release version 3.0.4
aleksanderwozniak Feb 20, 2022
c898d5a
Update issue templates
aleksanderwozniak Mar 11, 2022
0abad20
Make CustomIconButton platform aware
aleksanderwozniak Mar 13, 2022
782edad
Add Flutter Web to example
aleksanderwozniak Mar 22, 2022
a14a259
Improve header buttons, make them platform-aware
aleksanderwozniak Mar 22, 2022
1838790
Merge pull request #677 from aleksanderwozniak/cupertino-button
aleksanderwozniak Mar 22, 2022
9999054
Release version 3.0.5
aleksanderwozniak Mar 22, 2022
cec66f5
New feature: Show week numbers
May 9, 2022
0b91bc4
Fix RenderFlex issue when onPageChanged is invoked in CalendarCore
May 9, 2022
8012bd9
Fix missing Flutter Web tag
aleksanderwozniak May 29, 2022
47d3649
Release version 3.0.6
aleksanderwozniak May 29, 2022
eb69703
PR feedback fixes
May 31, 2022
9746201
Add test related to week numbers
May 31, 2022
aafa2d8
add table padding
soraef Jul 13, 2022
276d6b9
Adapt week number calculation
aleksanderwozniak Jul 20, 2022
75ba50c
Merge pull request #697 from jebstern/master
aleksanderwozniak Jul 20, 2022
59f4140
Add Material parent widget
aleksanderwozniak Sep 6, 2022
8e6842c
Update BasicsExample
aleksanderwozniak Sep 6, 2022
ea077a8
Release version 3.0.7
aleksanderwozniak Sep 6, 2022
a67f3ad
Merge branch 'master' of https://github.com/soraef/table_calendar int…
aleksanderwozniak Oct 30, 2022
0e7222d
Update complex example
aleksanderwozniak Oct 30, 2022
41dfa62
Update dependencies
aleksanderwozniak Oct 30, 2022
cfdc5b5
Release version 3.0.8
aleksanderwozniak Oct 30, 2022
5bd3a8f
Fix: Targeting S+ (version 31 and above) requires that an explicit va…
porum Nov 23, 2022
dd297e1
Merge pull request #745 from porum/master
aleksanderwozniak Jan 6, 2023
87b6c1a
Update intl to 0.18.0
aleksanderwozniak Jan 6, 2023
05db2a2
Release version 3.0.9
aleksanderwozniak Jan 6, 2023
e11c667
Add loadEventsForDisabledDays to allow loading events for disabled da…
RomanNakonechnyi Jan 10, 2023
347d859
Update pubspec.yaml
arijit121 Jan 25, 2024
55a9909
Merge pull request #849 from arijit121/patch-1
aleksanderwozniak Feb 9, 2024
d33bfa5
Upgrade to Dart 3
aleksanderwozniak Feb 9, 2024
c757c1c
Update build.gradle
aleksanderwozniak Feb 9, 2024
103bcb6
Release version 3.1.0
aleksanderwozniak Feb 9, 2024
8d98b23
feat: cell day localization (#763)
michaelsoliman1 Feb 24, 2024
ea2c6c1
Upgrade dependencies, add launch.json config
aleksanderwozniak Feb 24, 2024
b8cbb45
Release version 3.1.1
aleksanderwozniak Mar 24, 2024
c4f2283
Migrate Gradle plugins
aleksanderwozniak Jun 9, 2024
9e952b8
Update dependencies
aleksanderwozniak Jun 9, 2024
25ead15
Add dayTextFormatter property to CalendarStyle, revert to original '$…
aleksanderwozniak Jun 9, 2024
4f784cf
Update CellContent locale tests
aleksanderwozniak Jun 9, 2024
2e5ce9d
Merge pull request #881 from aleksanderwozniak/day-text-formatter
aleksanderwozniak Jun 9, 2024
ca01aa6
Release version 3.1.2
aleksanderwozniak Jun 9, 2024
36a4a24
Linting (#777)
Leptopoda Dec 12, 2024
92236c2
Remove covered "default" clauses
aleksanderwozniak Dec 12, 2024
1ba4abc
Apply lint rules, format code
aleksanderwozniak Dec 12, 2024
0a52f58
Merge pull request #906 from aleksanderwozniak/refactoring
aleksanderwozniak Dec 12, 2024
d5510b8
Example - update gradle config, bump compileSdkVersion to 34
aleksanderwozniak Dec 12, 2024
9638fe2
Release version 3.1.3
aleksanderwozniak Dec 12, 2024
6fb484c
Merge pull request #761 from RomanNakonechnyi/master
aleksanderwozniak Jan 8, 2025
baaa3f9
Fix code formatting
aleksanderwozniak Jan 8, 2025
665dd69
Upgrade intl to ^0.20.0
aleksanderwozniak Jan 8, 2025
b5ad81b
Fix empty weekendDays assertion bug
aleksanderwozniak Jan 8, 2025
5dc128b
Release version 3.2.0
aleksanderwozniak Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Report unexpected behavior
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To reproduce**
Please include a short code sample that can be used to reproduce the problem.
<details>
<summary>Code sample</summary>
</details>

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Output of `flutter doctor`**
Paste the result of this command here.
<details>
<summary>Output</summary>
</details>

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for table_calendar
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
70 changes: 65 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,70 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.dart_tool/
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/

build/
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*

# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java

# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/ephemeral
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
19 changes: 0 additions & 19 deletions .idea/libraries/Dart_SDK.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

36 changes: 0 additions & 36 deletions .idea/workspace.xml

This file was deleted.

4 changes: 2 additions & 2 deletions .metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This file should be version controlled and should not be manually edited.

version:
revision: 5391447fae6209bb21a89e6a5a6583cac1af9b4b
channel: stable
revision: f30b7f4db93ee747cd727df747941a28ead25ff5
channel: beta

project_type: package
17 changes: 16 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,24 @@
"version": "0.2.0",
"configurations": [
{
"name": "Flutter",
"name": "example",
"cwd": "example",
"request": "launch",
"type": "dart"
},
{
"name": "example (profile mode)",
"cwd": "example",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "example (release mode)",
"cwd": "example",
"request": "launch",
"type": "dart",
"flutterMode": "release"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dart.lineLength": 80,
}
106 changes: 106 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,109 @@
## [3.2.0]

* Added loadEventsForDisabledDays property to enable loading events for disabled days as well
* Fixed empty weekendDays assertion issue
* Updated intl version to 0.20.0

## [3.1.3]

* Updated gradle config for example project
* Added and applied lint rules, refactored code

## [3.1.2]

* Added dayTextFormatter property to CalendarStyle that allows to customize the text within day cells
* Reverted the default day cell's text formatting to just the day's number

## [3.1.1]

* Added cell text localization based on current locale

## [3.1.0]

* Upgraded to Dart 3
* Updated intl version to 0.19.0

## [3.0.9]

* Updated intl version to 0.18.0
* Added explicit android:exported value to AndroidManifest

## [3.0.8]

* Added tablePadding property to CalendarStyle

## [3.0.7]

* Added week numbering feature

## [3.0.6]

* Fixed issue with missing Flutter Web platform tag

## [3.0.5]

* Added a visual indicator to FormatButton
* Header buttons are now platform-aware

## [3.0.4]

* Updated dependencies
* Removed deprecated fields

## [3.0.3]

* Added semantic label to prioritizedBuilder
* Added tableBorder property to CalendarStyle
* Added cellAlignment property to CalendarStyle
* Added cellPadding property to CalendarStyle

## [3.0.2]

* Improved semantic labels for screen readers

## [3.0.1]

* Added pageAnimationEnabled property
* Added currentDay property to improve widget testability

## [3.0.0]

* Migrated to null safety
* Removed CalendarController
* Improved horizontal scrolling
* Improved widget performance
* Improved documentation
* Added date range selection
* Added multiple date selection
* Added selective CalendarBuilders
* Added firstDay and lastDay scroll boundaries
* Added shouldFillViewport property
* Added sixWeekMonthsEnforced property
* Added more options to customize calendar's behavior

## [2.3.3]

* Updated dependencies

## [2.3.2]

* Added previousPage and nextPage methods to CalendarController

## [2.3.1]

* Added chevron visibility properties to HeaderStyle
* Added cellMargin property to CalendarStyle
* Added eventDayStyle property to CalendarStyle
* Added availableCalendarFormats dynamic update
* Added optional BoxDecoration for each calendar row
* Added optional BoxDecoration for days of week row

## [2.3.0]

* Migrated to AndroidX
* Added holidays to onDaySelected callback
* Replaced deprecated overflow property with clipBehavior

## [2.2.3]

* Added onCalendarCreated callback
Expand Down
Loading