Increment a dynamic date by 1 day

Custom Code
Resolved

I have a date which is taken from user as input and is stored in a page state variable "systemDate". I want to increment the date by 1 day and store in another page state variable "nextSystemDate".

How do i do it?

What have you tried so far?

Wrote a custom code as shown in screenshot. I am getting a compilation error also shown in screenshot.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
2 replies