appointmentBuilder IconButton
Hi,
I create a custom widget inside the appointmentBuilder that contains a star/unstar IconButton. Unfortunately clicking on that button does not work. Instead of invoking the onPressed method of the IconButton the onTab of SfCalendar is invoked. Is there a possibility to make the tab on the IconButton work?
Use the following widget within appointmentBuilder:
appointmentBuilder: (context, details) {
return DecoratedBox(
decoration: BoxDecoration(
color: Theme.of(context).accentColor.withOpacity(0.75)),
child: Padding(
padding: const EdgeInsets.all(4.0),
child: IconButton(
tooltip: "Als Favorit Markieren",
icon: Icon(Icons.favorite),
color: Colors.white,
onPressed: () => {
print('ok')
},
),
),
); }
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
IR
Indumathi Ravichandran
Syncfusion Team
June 7, 2021 12:38 PM UTC
Hi Michael,
Thank you for contacting Syncfusion support.
Currently, we are validating the mentioned issue ”onPressed callback of the button not working for appointmentBuilder in the Flutter Calendar”. We will validate and update you the further details on or before June 9, 2021. We appreciate your patience until then.
Regards,
Indumathi R
IR
Indumathi Ravichandran
Syncfusion Team
June 9, 2021 03:06 PM UTC
Hi Michael,
Thank you for your patience.
We have already found and fixed the mentioned issue “onPressed callback of the button not working for appointmentBuilder in the Flutter Calendar”. We will include the issue fix in our upcoming Weekly Nuget release, which is expected to be rolled out by June 15, 2021 and let you know once the release rolled out. We appreciate your patience until then.
Regards,
Indumathi R
MM
Michael Mairegger
June 10, 2021 09:22 AM UTC
Hi Indumathi,
thank you for the quick fix.
Regards,
Michael
IR
Indumathi Ravichandran
Syncfusion Team
June 10, 2021 10:40 AM UTC
Hi Michael,
Thank you for the update. Please get in touch us with if you would require any further assistance.
Regards,
Indumathi R
IR
Indumathi Ravichandran
Syncfusion Team
June 15, 2021 06:53 AM UTC
Hi Michael,
Thank you for your patience.
We have included the issue fix for “onPressed callback of the button not working for appointmentBuilder in the Flutter Calendar”. Kindly update to the latest version 19.1.69 for resolving this issue fix. Please find the latest version from the following link,
Latest version link: https://pub.dev/packages/syncfusion_flutter_calendar/versions
We hope that this helps you. Please let us know if you need further assistance.
Regards,
Indumathi R
Marked as answer
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
- Marked answer
-
MM Michael Mairegger
- Jun 5, 2021 04:44 PM UTC
- Jun 15, 2021 06:53 AM UTC