Monthly calender view

import 'package:menstrual_cycle_widget/menstrual_cycle_widget.dart';
class CalenderExample extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Monthly Calender View'),
),
body: MenstrualCycleMonthlyCalenderView(
themeColor: Colors.black,
hideInfoView: false,
daySelectedColor: Colors.blue,
onDataChanged: (value) {},
),
);
}
}
Parameter
Parameters
Datatype
Description
Default Value
themeColor
Color
Specifies the theme color to match the app’s style
Colors.black
daySelectedColor
Color
Specifies the selected day color.
Colors.grey
hideInfoView
bool
Set true to hide information view.
false
onDataChanged
Function
Callback this function if change any data into calender view.
-
isShowCloseIcon
bool
Set true to show (X) close icon on top left side of calender view.
false
Last updated