Log daily symptoms

MenstrualLogPeriodView(
                displaySymptomsData: DisplaySymptomsData(),
                onError: onError(),
                onSuccess: (int id) {
                  onSuccess();
                },
                symptomsLogDate:
                    DateTime.now().add(Duration(days: next(1, 500))),
            )

Parameter

Parameters
Datatype
Description
Default Value

symptomsLogDate

DateTime

Specifies the date of symptoms log date

DateTime.now()

onSuccess

Function

Call back this function upon successfully storing log data in the local database.

-

onError

Function

Call back this function upon error during storing log data in the local database.

-

isRequiredWaterView

bool

Set to false to hide the water view.

true

isRequiredBodyTemperatureView

bool

Set to false to hide the body temperture view.

true

isRequiredWeightView

bool

Set to false to hide the weight view.

true

isRequiredSleepView

bool

Set to false to hide the sleep view.

true

isShowCustomSymptomsOnly

bool

Set to true to show only custom symptoms list.

false

isRequiredMeditationView

bool

Set to false to hide the meditation view.

true

displaySymptomsData

DisplaySymptomsData

Set to false in the specific object to hide it from the symptoms view

Last updated