custom_calendar_new 0.0.2 copy "custom_calendar_new: ^0.0.2" to clipboard
custom_calendar_new: ^0.0.2 copied to clipboard

A customizable calendar widget with support for marking present, leave, holidays, and more.

Custom Calendar #

A customizable calendar widget for Flutter to display present days, holidays, leave days, weekends, and more. Ideal for HR or attendance apps.

Features #

  • Swipeable monthly view
  • Custom colors and styles for each type of day
  • Easy integration into any app

Usage #

import 'package:custom_calendar/custom_calendar.dart';

CustomCalendar(
  initialMonth: DateTime.now(),
  onMonthChanged: (date, index) {
    print("Changed to $date");
  },
  dayStatusMap: {
    'present': [1, 2, 5, 8, 12],
    'leave': [4, 6, 9],
  },
  statusColors: {
    'present': Colors.green,
    'leave': Colors.red,
  },
  statusTextStyles: {
    'present': const TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
    'leave': const TextStyle(color: Colors.white),
  },
)

1
likes
140
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable calendar widget with support for marking present, leave, holidays, and more.

Repository (GitLab)
View/report issues

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on custom_calendar_new