flutter/examples/api/test
Sarbagya Dhaubanjar 6d6d7914f9
Added calendar delegate to support custom calendar systems (#161874)
Added `CalendarDelegate` class that supports plugging in custom calendar
logics other than Gregorian Calendar System.

Here is an example implementation for Nepali(Bikram Sambat) Calendar
System:
https://github.com/sarbagyastha/nepali_date_picker/blob/m3/lib/src/nepali_calendar_delegate.dart

Demo using the `NepaliDatePickerDelegate`:
https://date.sarbagyastha.com.np/

Fixes https://github.com/flutter/flutter/issues/77531,
https://github.com/flutter/flutter/issues/161873

## Pre-launch Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

---------

Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com>
2025-03-08 02:41:17 +00:00
..
animation Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
cupertino CupertinoSliverNavigationBar.search fidelity updates (#163089) 2025-02-21 00:03:58 +00:00
gestures Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
material Added calendar delegate to support custom calendar systems (#161874) 2025-03-08 02:41:17 +00:00
painting Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
rendering Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
sample_templates Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
services Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
ui/text Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
widgets Add action for configuring default action of EditableText.onTapUpOutside (#162575) 2025-02-28 19:01:33 +00:00
flutter_test_config.dart Auto-format Framework (#160545) 2024-12-19 20:06:21 +00:00
goldens_io.dart Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902) 2022-11-08 09:26:55 -08:00
goldens_web.dart Revert "Allow Flutter golden file tests to be flaky (#114450)" (#114902) 2022-11-08 09:26:55 -08:00