File tree Expand file tree Collapse file tree
lib/src/inputs/src/pickers/datetime Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 7.5.15
4+ - Adjusted ` ThemedDateTimeSteppedPicker ` to call the onChanged method only once after the time is selected.
5+
36## 7.5.14
47- Created ` ThemedDateTimeSteppedPicker ` widget for a stepped date and time picking experience, allowing users to select date first and then time
58
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ packages:
2929 dependency: transitive
3030 description:
3131 name: characters
32- sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
32+ sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b
3333 url: "https://pub.dev"
3434 source: hosted
35- version: "1.4.0 "
35+ version: "1.4.1 "
3636 clock:
3737 dependency: transitive
3838 description:
@@ -443,18 +443,18 @@ packages:
443443 dependency: transitive
444444 description:
445445 name: matcher
446- sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
446+ sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
447447 url: "https://pub.dev"
448448 source: hosted
449- version: "0.12.17 "
449+ version: "0.12.18 "
450450 material_color_utilities:
451451 dependency: transitive
452452 description:
453453 name: material_color_utilities
454- sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
454+ sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b"
455455 url: "https://pub.dev"
456456 source: hosted
457- version: "0.11.1 "
457+ version: "0.13.0 "
458458 material_design_icons_flutter:
459459 dependency: transitive
460460 description:
@@ -800,10 +800,10 @@ packages:
800800 dependency: transitive
801801 description:
802802 name: test_api
803- sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
803+ sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
804804 url: "https://pub.dev"
805805 source: hosted
806- version: "0.7.7 "
806+ version: "0.7.9 "
807807 two_dimensional_scrollables:
808808 dependency: transitive
809809 description:
Original file line number Diff line number Diff line change @@ -251,20 +251,11 @@ class _ThemedDateTimeSteppedPickerState extends State<ThemedDateTimeSteppedPicke
251251 );
252252
253253 if (selected != null ) {
254- widget.onChanged? .call (
255- DateTime (
256- selected.year,
257- selected.month,
258- selected.day,
259- widget.value? .hour ?? 0 ,
260- widget.value? .minute ?? 0 ,
261- ),
262- );
263- _showTimePicker ();
254+ _showTimePicker (selected);
264255 }
265256 }
266257
267- void _showTimePicker () async {
258+ void _showTimePicker (DateTime dateTime ) async {
268259 TimeOfDay ? result = await showDialog (
269260 context: context,
270261 builder: (context) => _ThemedTimeUtility (
@@ -283,9 +274,9 @@ class _ThemedDateTimeSteppedPickerState extends State<ThemedDateTimeSteppedPicke
283274 if (result != null ) {
284275 widget.onChanged? .call (
285276 DateTime (
286- widget.value ? . year ?? 0 ,
287- widget.value ? . month ?? 0 ,
288- widget.value ? . day ?? 0 ,
277+ dateTime. year,
278+ dateTime. month,
279+ dateTime. day,
289280 result.hour,
290281 result.minute,
291282 ),
Original file line number Diff line number Diff line change 11name : layrz_theme
22description : Layrz standard styling library for Flutter. Widget library following the Material Design 3 guidelines, with a focus on reliavility and functionality.
3- version : " 7.5.14 "
3+ version : " 7.5.15 "
44homepage : https://theme.layrz.com
55repository : https://github.com/goldenm-software/layrz_theme
66
You can’t perform that action at this time.
0 commit comments